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

Your name variable clashes with the name() method. In Groovy it's possible to assign a code block (called Closure) to a variable and then call that variable using the round brackets:
def a = { println 'HELLO' } a()In your case, Groovy is trying to call the name variable and a String can't be called which leads to the exception.