Code changed in jenkins
User: Anders Hammar
Path:
pom.xml
src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBadgeAction.java
src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java
src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseBadgeAction/badge.jelly
src/test/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBadgeActionTest.java
src/test/resources/org/jvnet/hudson/plugins/m2release/maven3-failing-project.zip
http://jenkins-ci.org/commit/m2release-plugin/32529b14eec921c0f2baea34ca6bd6548246a9a3
Log:
JENKINS-21063 Badge now retrieves dryRun, version, and failedBuild info from build instead of storing it.
As a side effect, variables in M2ReleaseBadgeAction were removed which will affect builds persisted with older versions of the plugin.
Also, required version of Jenkins was bumped to 1.509.3.
Signed-off-by: Anders Hammar <anders@hammar.net>
I'm fixing this by indicating in the badge if a release build failed (red 'x'). The tooltip will also state this by saying "Failed release...". To align the badge icons I'm replacing the old one for dryruns as well, with a yellow/orange '!' to indicate that it was a dryrun.