Add a LICENSE file.

* 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
zuul trigger now also adds ZUUL_UUID parameter

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
trivial whitespace errors in Sphinx

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
jenkins user must have global read permission

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
Provide ZUUL_COMMIT to zuul triggered job

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
git scm learned 'refspec' parameter

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
Add option to block up|down stream builds.

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
Use console_scripts entrypoint.

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