Tools to make Jenkins jobs from templates
Go to file
Antoine Musso 2736e14956 publisher for xunit
Let you describe a publisher for the xUnit Jenkins plugin:
	https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin

import the `logger` module since this publisher is doing a few
validations.

Example usage:

publishers:
	- xunit:
		thresholdmode: 'number'
		thresholds:
		  - skipped:
				unstablenew: 1
				failurenew: 1
		types:
		  - phpunit:
			  pattern: "junit.log"
			  stoponerror: false
		  - cppunit:
			  pattern: "cppunit.log"

Test plan:
* tox is all green
* sphinx doc got no warning and looks fine

Change-Id: Iab418b9a94e0f538afb7c2a4824ab4ddf421c208
Reviewed-on: https://review.openstack.org/14283
Reviewed-by: David Ripton <dripton@redhat.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-10-12 16:05:09 +00:00
doc Add additional search path to fix building of documentation. 2012-10-05 19:58:04 +00:00
jenkins_jobs publisher for xunit 2012-10-12 16:05:09 +00:00
tools Add documentation. 2012-09-17 20:25:38 +00:00
.gitignore Add documentation. 2012-09-17 20:25:38 +00:00
.gitreview Add .gitreview. 2012-08-06 20:25:20 +00:00
jenkins-jobs Add 'delete-all' subcommand to clear all jobs from Jenkins 2012-10-09 20:54:49 +00:00
README.md Correct pip package for Jenkins in README.md 2012-10-04 22:38:34 +00:00
setup.cfg Add documentation. 2012-09-17 20:25:38 +00:00
setup.py publisher for xunit 2012-10-12 16:05:09 +00:00
tox.ini Add documentation. 2012-09-17 20:25:38 +00:00

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