Having this simple workflow definition: node { binding['MYVAR'] = "myvalue" echo "${binding.getVariables()} " }
If ran on a non-sandboxed environment, the output is nice: [steps:org.jenkinsci.plugins.workflow.cps.DSL@545c26e4, MYVAR:myvalue] If ran on a sandboxed environment we get an error: No such property: binding for class: groovy.lang.Binding Could this be a similar case as JENKINS-25914 <https://issues.jenkins-ci.org/browse/JENKINS-25914>? That issue wasw closed on commit 0ee3e93 <https://github.com/jenkinsci/workflow-plugin/commit/0ee3e93e78013326cb49f800055c21f6044e6ce1> and related to commit 78563c4 <https://github.com/jenkinsci/script-security-plugin/commit/78563c4f8b606998c69057496813f733c1eb1581>. Regards -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f5235fd8-e586-48dc-9da5-a9dd19908d40%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.