- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with jenkins_job_builder
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Install jenkins_job_builder to allow you to manage your Jenkins jobs.
The openstack jenkins_job_builder tool manages the configuration of jobs in your Jenkins instance. This module wraps that tool and allows you to control all the configuration of your Jenkins jobs from within hiera.
- Install the jenkins_job_builder pip package
- Creates temporary files for each jenkins job you want to manage
Installing jenkins_job_builder to a specified version
class { 'jenkins_job_builder':
version => 'latest'
}
Parameters within jenkins_job_builder
:
The version of the the plugin to be installed.
A hash of the configuration for all the jobs you want to configure in your Jenkins instance.
The user used to authenticate to the Jenkins instance. (optional)
The password used to authenticate to the Jenkins instance. (optional)
(Optional) The connection timeout (in seconds) to the Jenkins server. If timeout
is unset it will remove any existing timeout values in the config file.
If using the jenkins hipchat plugin, this is the token that should be specified in the global config.
The full url (including port) to the jenkins instance.
Parameters within jenkins_job_builder::job
:
A hash of the configuration for all the job you want to configure in your Jenkins instance.
The time (in seconds) to delay the creatation of the Jenkins job. This is to avoid issues where Jenkins restarts during a puppet run.
The name of the jenkins service to restart when configuration changes are made. Defaults to 'jenkins'
Defaults is fully passed through to a file called /tmp/jenkins-defaults.yaml
with a parameter of name: globals
, to match the documentation provided
jenkins_job_builder
: Guides the installation of jenkins_job_builder
jenkins_job_builder::job
: Manages the configuration of a Jenkins job
This module is tested on the following platforms:
- CentOS 5
- CentOS 6
- Ubuntu 13.10
- Ubuntu 14.04
- Ubuntu 22.04 (Puppet 7)
It is tested with the OSS version of Puppet only.
Please read CONTRIBUTING.md for full details on contributing to this project.