Make it easier to run in place.

Without installing.

Change-Id: I63f322178aacef51b559cc04899d8dec7c67a219
Reviewed-on: https://review.openstack.org/28613
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Antoine Musso <hashar@free.fr>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Enhance support for the Cobertura Coverage Plugin. Deprecates the coverage module.

Increases the amount of recognizable parameters, modularizes existing parameters
and maintains default values.

Modularizes the construction of coverage reports. Coverage reports can now be fully
specified within JJB YAML. Coverage reports now use a default value of zero for
healthy, unhealthy, and unstable. Additionally, at least one target must be specified.

Coverage module gets a documentation and logger warning against its use. Logger object
moved to the head of the code.

Change-Id: I505a6185b3f9005fbbd9786ebdca0ef02ed618f0
Reviewed-on: https://review.openstack.org/28184
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
Pass svn revision to triggered jobs

This change adds the ability to pass the subversion revisions that
were used in the build to the downstream builds.

Added passing current-build parameters to downstream jobs
triggered in the post build actions, to keep builders and publishers
in sync.

Noticed arg type for git-revision was incorrect and changed it to
bool from str.

Change-Id: I029c1d88b23e08ac2546a92018fef06c22c357b1
Reviewed-on: https://review.openstack.org/28793
Reviewed-by: Khai Do <zaro0508@gmail.com>
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 support for the performance plugin.

Throws an error when invalid values are provided.

Also fix a minor spelling error.

Change-Id: Ib32fffbbdab89f072894e675a43eecfb0fff983d
Reviewed-on: https://review.openstack.org/28916
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
Fixing ant java opts

The java-opts were being passed to ant with a new line in between
each option.  This causes ant to choke and throw a usage of java
message and then exit with a success.  This is not good.  Now the
java options are passed with a space in between each one.

Change-Id: I6921dfd396d91eed112442503afc1d35e942af6e
Reviewed-on: https://review.openstack.org/29127
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
Adding Jabber Plugin

This change adds support for the Jabber plugin so Jenkins can
report results to chat rooms.

This change also fixes a misspelling of trigger in the documentation
of the join-trigger functionality.

Change-Id: I69659b106c6e1730506ee8150df8c07c1be27254
Reviewed-on: https://review.openstack.org/29779
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
Fixing copyartifact to work with latest version

Version 1.26 of the copy artifact plugin changed the xml from
projectName to project.  This change is making that same change.
I don't know if we, somehow, want to support the older version
of the copy artifact plugin.

Change-Id: I98b25649521d6d34380eea6597a4015d2d929ebc
Reviewed-on: https://review.openstack.org/29940
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Adding Build User Vars support

Adding support for the Build User Vars plugin.  This plugin
exposes new environment variables of who started a build, if it
was started manually.

Change-Id: I731419f26a9e59800ea2209d1c5a659a1b6cd483
Reviewed-on: https://review.openstack.org/30785
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
add post build workspace cleanup publisher

Change-Id: Id541aaa8173202bf141f389c7258e0dd43b39472
Reviewed-on: https://review.openstack.org/31448
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
Add support for the Team Foundation Server Plugin.

Change-Id: If5cce48e12f432c7e57ce89596286d2e63796c70
Reviewed-on: https://review.openstack.org/31400
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
Installation doc setup.py

The setup.py is not executable and does not contains #! sign at the
beginning.

Change-Id: I6f3aa542eb883ade0650a33f31a8b5ffaff9a615
Reviewed-on: https://review.openstack.org/32318
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Antoine Musso <hashar@free.fr>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Add Current build status to Conditional BuildStep

Add support for the Current build status condition.

Also fix the documentation regarding the conditional-step builder name
which requires an hypen and not an underscore as previously stated.

Change-Id: I6ede20c08c42d72d1ccf71c8fe6d3447d3acea90
Reviewed-on: https://review.openstack.org/32292
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 Excluded Users support to Git SCM

Add ability to provide a list of users to ignore revisions from
when SCM polling is enabled with Git.

Change-Id: Idb11b0afc2d8157f347e18488439d78e02f51282
Reviewed-on: https://review.openstack.org/32295
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 Deploy artifacts to Maven repository publisher

Change-Id: I758a34d82ca0f8404d98b27605ee5c693f6fdcdd
Reviewed-on: https://review.openstack.org/32302
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
change latest_only to latest-only for consistency

still accepts latest_only for backward compatiblity but emits a warning

Change-Id: I007d2fa2e02f15a9fd4a2eebcf5883091c8b865b
Reviewed-on: https://review.openstack.org/31449
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
fix invalid yaml in archive example

Change-Id: I9b10a33bafdc7d4811807ff01a96f37d9343b3c6
Reviewed-on: https://review.openstack.org/32643
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Add Release plugin

Add support for a 'release' wrapper section which enables the
Release Plugin
(https://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin).

Change-Id: I48e9cdd3f32c4f7e3da843b6adb58767b357b2e7
Reviewed-on: https://review.openstack.org/31650
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
Allow to override ignore upstream changes setting

When ignore-upstream-changes is set to false, it will configure
the job to build whenever a SNAPSHOT dependency is built.

This setting is only available to Maven projects.

The default value is still 'true' for backward compatibility.

Change-Id: Ibdcdeef6264a68b9002a5b5bb35b90233db67e8a
Reviewed-on: https://review.openstack.org/32298
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
Add excluded-regions and included-regions for GIT

There is now code to take a list of excluded and a list of
included locations.  excludedRegions was removed from the mapping
as it was determined not to do anything.

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