|
||||||||
|
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.

It's a Groovy thing. AFAIK, each closure defines it's own it variable. So the maven {} closure has a different it variable, which will be null because no parameter is passed in. The following should work:
... steps { existingMavenInstallations.each { installation -> maven { mavenInstallation(installation) ... } } } ...