Gitignore: Add /etc/jenkins_jobs.ini and output/ directory.

Change-Id: I358b0a05a2a1a9936f30eef3e77b555eff1044ec
Reviewed-on: https://review.openstack.org/21908
Reviewed-by: Khai Do <zaro0508@gmail.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
Adding extended-choice functionality

This change adds the ability to use the extended choice plugin.
This plugin allows you to populate a file with choices and then
allow the user to select one or more when the build now button
is clicked.  This change only changes the properties and setup
files.

Change-Id: I05af63f75f9ab87cd923c23177d33898c26149cf
Reviewed-on: https://review.openstack.org/20610
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Fixing trigger-parameterized-builds example

The example for the trigger-parameterized-builds functionality is
incorrect.  A dash is needed before the project in the yaml so the
code knows that project is used multiple times.  I also added the
predefined-parameters value to the example to show how that is used,
 because it took me a while to figure out

Change-Id: Ib6c5ffb18c213ccc1396edd1264edbf4c28ff651
Reviewed-on: https://review.openstack.org/21129
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Copy Artifact Plugin now specifies which build

The Copy Artifact Plugin has been extended to allow you to specify
which build to get.  There has been a dictionary created to
validate the value passed is correct and another dictionary
has been created to validate the permalink passed, if that option
is selected.  There are also parameters added for several of the
ways to select a build.

Change-Id: I71bbdcaada184736cc30e6390751aff1a864f9d5
Reviewed-on: https://review.openstack.org/21150
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Fixing svn-tags to work correctly

It was discovered that when using svn-tags functionality that when
you go to build the list is not populated.  If you just saved the job
in Jenkins then it would work correctly.  It was determined that the
<uuid> tag was missing and this was needed for the parameter to work.
In testing it was found that simply putting <uuid>1-1-1-1-1</uuid> into
the config would make the svn-tags functionality work like expected.
This is a one line change to add the uuid element set to 1-1-1-1-1

Change-Id: Iea1c27ebc9aa7c17f4f390c375989240c1941ce0
Reviewed-on: https://review.openstack.org/21809
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Add support for passing git revision through a parameterized build trigger.

Change-Id: Id937a278b04f2a590e9b1606b18634f584032bb8
Reviewed-on: https://review.openstack.org/22555
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Add support to copyartifact builder for flattening dirs

Change-Id: I72278b220dcd61dd323da91c8cbd0282b8d0f97c
Reviewed-on: https://review.openstack.org/22556
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Kiall Mac Innes <kiall@hp.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Stop referring to openstack/openstack-ci-puppet.

The openstack/openstack-ci-puppet repo moved and became
openstack-infra/config. Remove references to openstack-ci-puppet and
replace them with references to openstack-infra/config.

Change-Id: I75e7797995b894b6053901dbcfa351404048ea7c
Reviewed-on: https://review.openstack.org/23227
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Adding ability to specify Java Options to Ant

You can now specify the Java Options to pass to ant.  The leading dash is
needed and multiples are specified like:
   java-opts:
      - "-ea"
      - "-Xmx512m"
I only changed the builders.py file and I followed the properties section
above my change as a template.

Change-Id: Ifa3d06a53b160444224f308d36e7b2bd903591bd
Reviewed-on: https://review.openstack.org/23097
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
Property file for parameterized downstream jobs

Added ability to specify parameters from properties file for parameterized
build on other projects.  This change follows the predefined-properties code
as a template for how to do the work.  This is a change to only the
publishers.py file.

Change-Id: I4b3500dc9b4f50450475aa8441854fa6b5b0ccb0
Reviewed-on: https://review.openstack.org/23432
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
Build when a change is pushed to GitHub

Added ability to build when a change is pushed to github, to the triggers.
This change is changing the triggers.py file and follows the poll scm
as a template for the change.  Setup.py was also changed to enable the new
feautre.  There is outside changes needed to Jenkins and/or github to fully
use this feature.  You need to tell Jenkins whether to automatically manage
the github repos or you need to put the correct URL into the webhook.
Furthermore, at the current time it is necessary to set both github and
pollscm for this to work.  In the future this may not be necessary so setting
github does not automatically set pollscm.

Change-Id: Id7b48fa47f63669ba31282a403f07a1234e7ac31
Reviewed-on: https://review.openstack.org/23433
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