Merge remote-tracking branch 'origin/master' into intm
JENKINS-12881: Initial implementation
JENKINS-12881: Obtain failure message at completed-time.

Resolves a potential race condition when a single job
may be executing multiple times before the change "batch"
status is ready to be reported back to Gerrit.

The test setup is:

 * Job-A
   - Shell: echo "Starting ${BUILD_TAG}" > error-message.txt
            sleep 5
   - Shell: echo "Always fails ${BUILD_TAG}" > error-message.txt
            sleep 5
            exit 1

 * Job-B
   - Shell: echo "Starting ${BUILD_TAG}" > error-message.txt
            sleep 15
   - Shell: echo "Never fails ${BUILD_TAG}" > error-message.txt
            sleep 15

Job-B will always be the long-pole (30 sec). Job-A will always fail,
hopefully with "Always fails ______" as the error-message.

Create 2 commits for review, and push both commits to Gerrit. Both
Job-A builds will run and fail within 20 seconds, before the first
Job-B build is even finished executing.

The test is successful if both review commits contain the correct
"Always fails {TAG}" messages, corresponding to the correct URL.
The test fails if any other string exists in the failure message.
JENKINS-12881: Refactor the message retrieval

Refactor at which point the message is retrieved, and
which class is responsible for doing so. Should be more in
line with the original intent of the classes, and not
introduce a high degree of coupling.
JENKINS-12881: Fixes per code review comments at pull request #12
JENKINS-12881: Adds unit tests for failure-message feature
Changes to version checking.

Added a new class, GerritVersionNumber that can take care
of Gerrit's version numbers. Prepared for being able to
check if the version is high enough for the file trigger.

Change-Id: I68ae2acbb3fb191ea37a97f8f287986cbea2654a
Version check for the file trigger feature.

Checks that the version is high enough for the
file trigger feature. If it isn't, the ui for file
trigger is removed and files are ignored when computing
isInteresting.

Change-Id: Idb54e6ec11cef157fb959903110d97cb257a4409
Display Gerrit version warnings in the administrative monitor.

Warnings regarding the Gerrit version is now displayed on
on the manage Jenkins page.
Also added the Gerrit related monitor messages to the
GerritManagement page.

Change-Id: I6ee31e191bd61b2907b5baefeef4707384396aae
Copied the isFileTriggerEnabled from instance to descriptor.

The instance wasn't accessible in a new project without
gerrit triggering enabled. Changed to use the descriptor instead.

Change-Id: Icdfebb630a712ce1311a38bfcb17b478ceb84152
Merge pull request #12 from jhansche/JENKINS-12881

JENKINS-12881: Allow reading custom build message from a workspace file, in case of non-success
JENKINS-12836: add a Descriptor for the Branch to nuke warning in the logs.
Merge pull request #13 from tbroyer/patch-1

JENKINS-12836: add a Descriptor for the Branch to nuke warning in the logs.
Merge remote-tracking branch 'origin/master' into i

Conflicts:
	gerrithudsontrigger/src/test/java/com/sonyericsson/hudson/plugins/gerrit/trigger/mock/Setup.java

Change-Id: I36e6355c04e564786f24ed0b2ee397ac59c9e7ff
Updating maintainer info to Sony Mobile Communications.

Sony Ericsson is now fully owned by Sony, changing name to
Sony Mobile Communications and that means new email addresses.

Change-Id: If096f5618f5d564894a9b7ac1bbe6af53e51bfaa
[maven-release-plugin] prepare release gerrit-trigger-2.5.0
[maven-release-plugin] prepare for next development iteration
Update build-config dependency versions.

Update to 1.2.6-SNAPSHOT
add a Descriptor for the FilePath to nuke warning in the logs.
Merge pull request #14 from tbroyer/missing-descriptor

add a Descriptor for the FilePath to nuke warning in the logs.