Do not output XML if job name not specified ('pipeline', 'trigger-builds')

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
Adding ability to use the mask passwords plugin

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
Add sample jenkins_jobs.ini configuration file

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
Changing parameter order for 'trigger-builds' builder.

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
Adding ability to use the EnvInject Plugin

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
Fix up examples so they're at least syntactically valid

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
Add support for full authorization matrices

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
Add some style developer docs.

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
Adding ability to use the Build Name Setter Plugin

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
Fix up description of text_param and file_param

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