Instructions for build Jenkins bookkeeper-master job using Jenkins Job Builder
Requirements:
The jenkins folder contains:
Build and install latest version of jenkins-job-builder;
$ git clone https://git.openstack.org/openstack-infra/jenkins-job-builder
$ python setup.py build
$ python setup.py install --user
How do I create job ?
Get an username and an “API Token” for your Jenkins configuration
In order to test jenkins job configuration, go to ‘jenkins’ directory and run:
$ jenkins-jobs test bookkeeper-master-job-configuration.yaml
This will print the XML configuration of the job which will be deployed to your Jenkins
In order to apply the configuration and create the job, run:
$ jenkins-jobs --user USER --password API-TOKEN --conf jenkins_jobs.ini update bookkeeper-master-job-configuration.yaml
By default the job will be deployed to builds.apache.org, you can change the destination in jenkins_jobs.ini