GithubHelp home page GithubHelp logo

alexistimic / cjd-jcasc-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudbees-oss/cjd-jcasc-demo

0.0 1.0 0.0 42 KB

Demo of Jenkins Configuration-as-Code Plugin usage with CloudBees Jenkins Distribution

Home Page: https://www.cloudbees.com/products/cloudbees-jenkins-distribution

License: MIT License

Dockerfile 63.78% Makefile 36.22%

cjd-jcasc-demo's Introduction

JCasC Demo on CloudBees Jenkins Distribution

GitHub release Docker Pulls

WARNING: This is a demo repository and image, it is not supported by CloudBees for production use

This demo demonstrates usage of the Jenkins Configuration-as-Code Plugin plugin with CloudBees Jenkins Distribution (CJD). The demo is based on the official Cloudbees Jenkins Distribution image available on Docker Hub (here).

By default, all bundled plugins from CJD are loaded. The configuration YAML file presets all of the configuration fields which are currently supported. Note, this is a demo only and it doesn't configure a full production instance of CJD which is able to run production CI/CD pipelines.

Usage

Running

  • Run the image using the docker run --rm -p 8080:8080 cloudbees/cjd-jcasc-demo command
    • You can also run a specific version using a release tag from Docker Hub
  • Navigate to http://localhost:8080
  • Login with the admin/admin username/password pair
  • Register CloudBees Jenkins Distribution screen. Select the Activate online option and register your CJD instance. It is free, but you need to accept the license agreement
  • Customize CloudBees Jenkins Distribution screen. Use the the Select plugins to install option,
  • Select None in the top panel of the window to unselect all plugins. Then click Install
    • Plugins are already installed by CloudBees Assurance Program and Docker packaging, so selection of additional plugins is not needed here
    • This manual UI action is temporary step
  • Your CloudBees Jenkins Distribution is ready and configured via Jenkins Configuration as Code plugin! Just start using it

Advanced run options

  • To disable booting of fat plugins, -e INCLUDE_FAT_PLUGINS=false can be passed to the Makefile

  • Use -e VERBOSE=true to enable verbose mode with more debug information

  • It is possible to munt a local workspace as a volume by -v ${WORKSPACE_ABOLUTE_PATH}:/var/jenkins_home/ for troubleshooting purposes. Note that the workspace should be empty on startup.

    Changelog

    See GitHub Releases.

cjd-jcasc-demo's People

Contributors

markewaite avatar mramonleon avatar oleg-nenashev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.