Michael Rose edited a comment on Bug JENKINS-20645

For future reference, what documentation are you referring to?

I was led astray by:

You can also access some pre-defined variables in the DSL :

"build" the current flow execution
"out" the flow build console
"env" the flow environment, as a Map
"params" triggered parameters
"upstream" the upstream job, assuming the flow has been triggered as a downstream job for another job.

So I tried env and found it was empty, then tried build.env and found it didn't exist. I didn't even think to inspect the build object further with *build.properties.each { out.println "$it.key -> $it.value" }*

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to