Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not A Defect
-
None
-
-
iapetus, 1.0
Description
When something similar (variable is not defined in Jenkinsfile) occurs - there is nothing in UI about this error. Only status is RED. No messages at all. But full log contains an error:
[Bitbucket] Notifying commit build result [Bitbucket] Build result notified groovy.lang.MissingPropertyException: No such property: DEPLOY_ENV for class: groovy.lang.Binding at groovy.lang.Binding.getVariable(Binding.java:63) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:224) at org.kohsuke.groovy.sandbox.impl.Checker$4.call(Checker.java:241) ..bla bla bla Finished: FAILURE
vivek we may want to cover this use case in the error step reporting.
kamikaze would you be able to provide a small Jenkinsfile that reproduces a similar error?