gerrit: Add file paths filtering support.

Gerrit Trigger allows to restrict triggering of build depending
on which files are modified in the change.

Expose this capability with a new property file-paths.

Also cleanup documentation (omissions and formatting errors).

Change-Id: I4bfc5ab03a10622fdb5730a294037add8c1ad54f
Reviewed-on: https://review.openstack.org/25569
Reviewed-by: Antoine Musso <hashar@free.fr>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
matrix jobs now supports user-defined axes

The XML definition of a user defined axes is the same as a a labeled
expression axis.  Only the XML element name change, adding support for
user defined axis is thus only a matter of adding a map between our YAML
values and Jenkins XML element name.

Change-Id: Ib2f36e10c1c5fb14f0e4255f35c0bf19c2cc39b3
Reviewed-on: https://review.openstack.org/25432
Reviewed-by: Arnaud Fabre <fabre.arnaud@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
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
Documentation fixes

There are three doc fixes for builders.py  in this change.

Link to Gradle plugin fixed
Maven-target example has been fixed
Copyartifact docs cleaned up

Change-Id: Ie50e94ace2041735cc986eb117597262b40b0fa5
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
Merge branch 'master' of github.com:openstack-infra/jenkins-job-builder