Change-Id: Id0bc211c8071e66379f0eccf0a06118a7245f0de
Reviewed-on: https://review.openstack.org/16495
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
Fixes bug #1080824
Change-Id: Ie5043283bf8c0f13f04d250c4c7299596d766508
Reviewed-on: https://review.openstack.org/16454
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
Since the project uses entrypoints so heavily - move the jenkins-jobs script
to be contained within the project and have entrypoints generate the script.
Change-Id: Ie9541163c8677de1b05576491c8e9e63d3bd25fc
Reviewed-on: https://review.openstack.org/15816
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Jenkins has advanced project options that allow you to block if the up
or down stream projects are currently being built. Support these options
through JJB.
Change-Id: I8cfe3e19d1d929517c0a6ee886b31241b3e9b588
Reviewed-on: https://review.openstack.org/16338
Reviewed-by: Antoine Musso <hashar@free.fr>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
The Zuul configuration advise user to set the Git plugin ref specifier
to $ZUUL_REF which was not supported. This patch let you specify it
using:
scm:
- git:
refspec: '$ZUUL_REF'
Will fallback, as before, to '+refs/heads/*:refs/remotes/origin/*'
Change-Id: I1db7e86f8be5f6b167ba99f8fec266b4e8ff95a8
Reviewed-on: https://review.openstack.org/16011
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
Zuul documentation advise user to configure their Jenkins GIT plugin
with ZUUL_COMMIT as a branch specifier although it is not sent!
http://ci.openstack.org/zuul/launchers.html#jenkins
Change-Id: I2147e1b2d54a7101d6b7324c1e553f46dcdb4bb7
Reviewed-on: https://review.openstack.org/16010
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
Change-Id: I467f2b8ca5fcffc118c1bdc3d5dee04c309ac70f
Reviewed-on: https://review.openstack.org/16170
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
jenkins_jobs/modules/builders.py:docstring of
builders.artifact_resolver:3: WARNING: Definition list ends without a
blank line; unexpected unindent.
jenkins_jobs/modules/wrappers.py:docstring of wrappers.build_name:6:
WARNING: Field list ends without a blank line; unexpected unindent.
Change-Id: Iff77f346172e1c45a035e112e22e8e2fda9933e3
Reviewed-on: https://review.openstack.org/16169
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
The UUID parameter has been deprecated in Zuul in favor of ZUUL_UUID,
see "upstream" commit:
- https://review.openstack.org/#/c/13934/
- I88c38a28dcd552b2540095d36caacd10acf167b8
Change-Id: I938e4059e435d8ffd5eef73dc0affed71463ba45
Reviewed-on: https://review.openstack.org/15813
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
* LICENSE: This file was referenced in MANIFEST.in but did not actually
exist in the repository. It has been taken from Apache's published copy
of their Apache Software License 2.0, with appendix included.
Change-Id: I1ab3a257f3bf1df929aac3acd9184c9c262a614b
Reviewed-on: https://review.openstack.org/16071
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Tollef Fog Heen <tfheen@varnish-software.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I4602154fa7fca84d1eaa6aed13e501fcc770b609
Reviewed-on: https://review.openstack.org/15926
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: I8c63de4eebd42dbe2274a560b038ffe3f7cf8598
Reviewed-on: https://review.openstack.org/15891
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I9752eb85ff640a5b32fb2940c7a54f80cf3762a1
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/15835
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
With help from clarkb in #openstack-infra and openstack-ci/gerritbot,
I've manage to update our versioning to be inline with other openstack
projects. This is another step towards creating our OS packaging.
Change-Id: If3f44b939ee0a3c9c4dfa1d9f83ae14a8285ba5f
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/15335
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: Ia5c386e664e52b0be568b46abeb0491c512442c3
Reviewed-on: https://review.openstack.org/15734
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: If688379d17cf1cbfaf4018f53e0e01625ddaeb11
Reviewed-on: https://review.openstack.org/15522
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: Ie64b4d3d0b1812347f6cc5921dc1cb5bb22ea27f
Reviewed-on: https://review.openstack.org/15402
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: If5f59588994ad17de56adffa0f64a1aab1ee2e1c
Reviewed-on: https://review.openstack.org/15514
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I5f07fe15dfed1f65a8793bdf68805b0ec6b16bc7
Reviewed-on: https://review.openstack.org/15527
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I3b4094397726eb0ddd0acc019e19ffa96251a9e1
Reviewed-on: https://review.openstack.org/15438
Reviewed-by: Tollef Fog Heen <tfheen@varnish-software.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I3edb57a98bb7aa0d488118abdc892793d47e43f9
Reviewed-on: https://review.openstack.org/15407
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I63756ecd50d6cf03455998ba40b4c63563793388
Reviewed-on: https://review.openstack.org/15392
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: Idd074a184c18bb21c3864d1508c6cb3708f07d9d
Reviewed-on: https://review.openstack.org/15198
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: Ib88d09a2da1c903bac9afeb1dbd70648e003edfe
Reviewed-on: https://review.openstack.org/15024
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: Ief99fab872a531402c0907b4f44defce37d249e1
Reviewed-on: https://review.openstack.org/15189
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: Icf933a25513f3b349ef67badc7b3e9cd7998089c
Reviewed-on: https://review.openstack.org/15037
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I0610218034ea6c3aeeee03ab9b14ca79d25c5810
Reviewed-on: https://review.openstack.org/15046
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I387ea1d006f3d1a053cb7e88afc9fe99ea010a5c
Reviewed-on: https://review.openstack.org/15021
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Ideally we should verify this at build time, but until then, at least
make the examples syntactically valid for anybody trying to get
started.
Change-Id: I413ae9576b012a4847bedaa5a1582fad3e1a8de0
Reviewed-on: https://review.openstack.org/15018
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I619393f1f6144e8ee48d7642f2ff97f34b4d18dc
Reviewed-on: https://review.openstack.org/15029
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
It seems that order is important for the various parameter options that
can be passed to the envinject parameterized trigger plugin.
The relative order (of XML generation) of the 'current-parameters'
option has been changed so that it is generated before any
'predefined-parameters'. This allows for overriding any
of the current parameters with a pre-defined parameter.
Change-Id: If0429a63267b314c23e0ef331546e3187b4373c3
Reviewed-on: https://review.openstack.org/15050
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: I8fb296b1b8b17261c46df1eb062ec52d2559307b
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/15035
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I9a6d90399a6a1d6cfd07a5d4694e13b1060a498d
Reviewed-on: https://review.openstack.org/14976
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
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
This change allows constructs like:
- job-template:
name: "foo-build-{slave}"
- project:
slave:
- debian-squeeze-powerpc
- debian-squeeze-amd64
and will then instantiate the job template for each value in the
list.
Change-Id: I057a30ef6d91048efacc4a6da2142cb8f924dd06
Reviewed-on: https://review.openstack.org/14738
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: Iad9c60d052c85bfb60794e6d2a9d80a915e7d1a8
Reviewed-on: https://review.openstack.org/14675
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: Icdfb6295fb3a2c5bfbb411995bf67e8075197b86
Reviewed-on: https://review.openstack.org/14914
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I85caf018a69a24e83a58b76d114c962f1516e104
Reviewed-on: https://review.openstack.org/14736
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Change-Id: I49ebd3056817ca071276d03196175e3caf4a2a51
Reviewed-on: https://review.openstack.org/14737
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
The motivation for this was to allow for specifying a pipeline of jobs
at the project level, thereby re-using the same job templates in
different pipelines.
Change-Id: I9840d3713669ceca75a831be92c95c3fe9195c01
Reviewed-on: https://review.openstack.org/13705
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: Ie4bc5fed35d39dbca2c3ef9ca185d465df0dc4e2
Reviewed-on: https://review.openstack.org/14457
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
When doing developement, we usually want to stick a jenkins_job.ini file
at the root of our working directory. The logic still look under /etc/
by default and --conf will override the config file.
Test plan:
* tox is all green
Change-Id: I28781653feb3ce60eb18b50e5b44383d4b544f5a
Reviewed-on: https://review.openstack.org/14285
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
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
This let you define an 'ant' builder for those using ant as a build
script.
Given the YAML input:
builders:
- ant: "debug"
- ant:
targets: "test install"
buildfile: "foobar.xml"
Generates the following XML:
<builders>
<hudson.tasks.Ant>
<targets>debug</targets>
</hudson.tasks.Ant>
<hudson.tasks.Ant>
<targets>test install</targets>
<buildFile>foobar.xml</buildFile>
</hudson.tasks.Ant>
</builders>
Test plan:
* tox is all green
* sphinx doc got no warning
Change-Id: I9e443c827b7a1b7c3ceff668de518d4cbd7abfff
Reviewed-on: https://review.openstack.org/14141
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: Ic31b468b6cd1285578038af8f08020e5c4e30c63
Reviewed-on: https://review.openstack.org/13876
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Sphinx was unable to find the jenkins_jobs.sphinx.yaml module when I
ran 'make html' in the doc/ subdirectory.
Change-Id: I64817139b149c66b01e3610248b49f955c5bde8c
Reviewed-on: https://review.openstack.org/13707
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: Ia0d75275dfea794a0cfcae9d408cc53ccc8ff627
Reviewed-on: https://review.openstack.org/14044
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Tweaks the Builder and YamlParser classes to accept a config object
which is passed to the parser's ModuleRegistry object. This makes it
available to the HipChat object.
Change-Id: I3017658336b949c0fda7c82945e7014dbcf6e152
Reviewed-on: https://review.openstack.org/12794
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins