>From the results is an instance of groovy.lang.Binding <http://groovy.codehaus.org/api/groovy/lang/Binding.html>. Don't know if it was supposed to be supported but as it works in out-of-sandox mode, here comes the possible idea of it being a bug.
El lunes, 9 de marzo de 2015, 21:24:43 (UTC+1), Jesse Glick escribió: > > On Friday, March 6, 2015 at 9:51:08 AM UTC, Javier Delgado wrote: >> >> 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] >> >> > Surprising to me. What is ‘binding’ supposed to be? I do not think this is > expected to be supported, at least not in the sandbox. > -- 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/5a6d1b32-497b-4c4d-992e-49eb78a2ddb6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.