
Done in order to enable specifying build pipelines at the project level. Pipelines are built using the 'pipeline' plugin or the 'trigger-builds' plugin. The downstream job to be executed is specified at the project level, and substituted into the template. Ignoring definitions where the downstream job is blank allows the pipeline to be easily terminated. Also adding a samples/ directory, which currently contains an example of pipeline creation, together with a new tools/run-compare-xml-samples.sh to run the before/after test on the samples. Change-Id: Icc324d1485e22db7824ad784890db48eb3e48f8f Reviewed-on: https://review.openstack.org/13706 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
Jenkins Job Builder
Jenkins Job Builder takes simple descriptions of Jenkins jobs in YAML format, and uses them to configure Jenkins. You can keep your job descriptions in human readable text format in a version control system to make changes and auditing easier. It also has a flexible template system, so creating many similarly configured jobs is easy.
To install: sudo python setup.py install
Online documentation:
developers
Bug report: https://bugs.launchpad.net/openstack-ci/
Cloning: https://review.openstack.org/p/openstack-ci/jenkins-job-builder.git
Patches are submitted via Gerrit at https://review.openstack.org/
More details on how you can contribute is available on our wiki at: http://wiki.openstack.org/HowToContribute
installing wihout setup.py
For YAML support, you will need libyaml installed.
# Mac OS X:
brew install libyaml
Then install the required python packages using pip:
sudo pip install PyYAML python-jenkins