add an auth-token YAML parameter for the General Job Configuraion module

Using the Jenkins WEB UI an Authentication Token can be specified for
jobs to allow builds to be triggered remotely by using the URL:
JENKINS_URL/job/JOBNAME/build?token=TOKEN

Add an auth-token job parameter to generate the <authToken> XML element.

Change-Id: Ic916e4074c9b2de9c616ef39a88c1d8e1e91fcff
Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com>
Reviewed-on: https://review.openstack.org/25819
Reviewed-by: Arnaud Fabre <fabre.arnaud@gmail.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
Adding 'switches' to gradle

This change adds the ability to specify switches to be passed to
gradle.  This change was only two functional code lines and
several lines of documentation.  The only file that changed was
builders.py

Change-Id: Idb1199cd4a63e6fbfdabe57cf50a8b431dd9e914
Reviewed-on: https://review.openstack.org/25929
Reviewed-by: Tollef Fog Heen <tfheen@varnish-software.com>
Reviewed-by: Arnaud Fabre <fabre.arnaud@gmail.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
Maven: Fix XML markup.

The generated markup contains a node "root_module", which is not
recognized by Jenkins:

  WARNING: Skipping a non-existent field root_module
  com.thoughtworks.xstream.converters.reflection.MissingFieldException: No
  field 'root_module' found in class 'hudson.maven.MavenModuleSet'

The correct spelling is rootModule.

Change-Id: I0cae2c3358f2664783c97e245b064453a05bc988
Reviewed-on: https://review.openstack.org/26052
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
Add jenkins-jobs command line tool.

So that jenkins-jobs can be easily run for testing from the source
dir without installation.

Change-Id: Iabba59ad32ccd4b79eb8934e53c6d747110a06b0
Reviewed-on: https://review.openstack.org/26259
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Add support for password parameters

Change-Id: Iaab1d59c6e01fb95f5c8cd012dbc73379c92174e
Reviewed-on: https://review.openstack.org/26317
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Add support for join trigger publisher

Change-Id: Ifbfb28fd61092f15d7960f5dfc8ba57992607464
Reviewed-on: https://review.openstack.org/26318
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins