Jesse Glick commented on Bug JENKINS-26699

If that was in the docs somewhere I totally missed it.

We do not generally write up obvious bugs (as opposed to fundamental limitations) in documentation. The time would be better spent fixing them. The Workflow index page links to a JIRA query of open issues.

Shall I assume that most groovy features which work with closures are not permitted in the workflow script then?

Closures in general work. (For example the Docker demo uses a function taking a closure as an argument.) JENKINS-26481 just notes that some built-in operations on collections taking closures do not appear to work, presumably a bug in the groovy-cps library which provides CPS-transformed code for every Groovy operator and control flow element. For these cases you currently need to use other syntactic idioms, such as plain old loops.

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/d/optout.

Reply via email to