[JIRA] [groovy-postbuild-plugin] (JENKINS-29016) Option "If the scripts fails" doesn't cause build failure
Title: Message Title Victor Magana assigned an issue to wolfs Jenkins / JENKINS-29016 Option "If the scripts fails" doesn't cause build failure Change By: Victor Magana Assignee: Victor Magana wolfs Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [groovy-postbuild-plugin] (JENKINS-29016) Option "If the scripts fails" doesn't cause build failure
Title: Message Title Victor Magana assigned an issue to Victor Magana Jenkins / JENKINS-29016 Option "If the scripts fails" doesn't cause build failure Change By: Victor Magana Assignee: ikedam Victor Magana Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [groovy-postbuild-plugin] (JENKINS-29016) Option "If the scripts fails" doesn't cause build failure
Title: Message Title ikedam resolved as Cannot Reproduce Jenkins / JENKINS-29016 Option "If the scripts fails" doesn't cause build failure Change By: ikedam Status: Open Resolved Resolution: Cannot Reproduce Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [groovy-postbuild-plugin] (JENKINS-29016) Option "If the scripts fails" doesn't cause build failure
Title: Message Title ikedam assigned an issue to ikedam Could not reproduce. You may describe more details. Steps I tested (Jenkins 1.609.1, groovy-postbuild 2.2): Create a freestyle project Add Groovy Postbuild to Post-build Actions Groovy Script foobar Use Groovy Sandbox: checked If the script fails: Make build as failed Run a build Result The build failed with FAILURE Log output: ERROR: Failed to evaluate groovy script. groovy.lang.MissingPropertyException: No such property: foobar for class: groovy.lang.Binding at groovy.lang.Binding.getVariable(Binding.java:62) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:139) at org.kohsuke.groovy.sandbox.impl.Checker$4.call(Checker.java:153) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:150) at org.kohsuke.groovy.sandbox.impl.Checker$checkedGetProperty.callStatic(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:50) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:157) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:177) at Script1.run(Script1.groovy:1) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.run(GroovySandbox.java:139) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript.evaluate(SecureGroovyScript.java:161) at org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildRecorder.perform(GroovyPostbuildRecorder.java:361) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Exec
[JIRA] [groovy-postbuild-plugin] (JENKINS-29016) Option "If the scripts fails" doesn't cause build failure
Title: Message Title Walter Kacynski created an issue Jenkins / JENKINS-29016 Option "If the scripts fails" doesn't cause build failure Issue Type: Bug Assignee: wolfs Components: groovy-postbuild-plugin Created: 22/Jun/15 4:53 PM Priority: Minor Reporter: Walter Kacynski If the groovy script fails; the build result will not be downgraded. I assume that this is related to JENKINS-12010 Add Comment This message was sent by Atlassian JIRA (v6.4.2#