Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: groovy-postbuild-plugin
-
Labels:None
-
Similar Issues:
Description
Some of my post build scripts perform different actions depending on the build result. With the new security updates introduced in 2.0, there are no whitelisted methods of retrieving the build result.
Code changed in jenkins
User: bkrisch
Path:
src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java
src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder/help.jelly
http://jenkins-ci.org/commit/groovy-postbuild-plugin/ec6cd32ac066303ca08ada55efa5d218eee1d78a
Log:
JENKINS-25738added getResult() as a whitelisted method