tree: 6b3affc5eca8eecb6e80b6d9db2d89da391fbf6c [path history] [tgz]
  1. bookkeeper-master-job-configuration.yaml
  2. jenkins_jobs.ini
  3. README.md
jenkins/README.md

Instructions for build Jenkins bookkeeper-master job using Jenkins Job Builder

Requirements:

The jenkins folder contains:

  • bookkeeper-master-job-configuration.yaml (Jenkins job definition)
  • jenkins_jobs.ini (Jenkins job builder configuration)

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