Giter Site home page Giter Site logo

jenkins-job-builder-docker's Introduction

Dockerized Jenkins Job Builder

Docker image containing Jenkins Job Builder (JJB).

When configuring Jenkins it is preferable to store your job configuration as source code and to version control them. Jenkins Job Builder is a tool that allows you to specify Jenkins jobs in a yaml format. You can then use Jenkins Job Builder to configure your Jenkins instance based on these configurations. Instead of requiring you to install Jenkins Job Builder on your machine, you could run it in a Docker container.

You need to configure a jenkins.ini configuration file for Jenkins Job Builder with information on how to connect to your Jenkins instance. See the provided example jenkins_jobs.ini. Volume mount the directory containing your job configuration files to the Docker container, and then invoke Jenkins Job Builder ising the jenkins-jobs command, such as:

docker run -it --rm --net=host -v jenkins_jobs.ini:/etc/jenkins_jobs/jenkins_jobs.ini -v PATH_TO_JOB_CONFIGS:/root/jenkins-job-builder diabol/jenkins-job-builder jenkins-jobs update my_job_config.yaml

The Docker image is available on Docker Hub.

jenkins-job-builder-docker's People

Contributors

tommysdk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.