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

Have you read the help (question mark at the right side)?
It starts as follow:
Return value from Groovy script is treated as Label _expression_. It is treated as followings:
A non-string value will be converted to a string using toString()
When null or blank string is returned, node restriction does not take effect (or is not overwritten).
When exception occurred or Label _expression_ is not parsed correctly, builds are canceled.
It sounds for me, that the return value "Master" from groovy script is treated as a label for the master node.
But I haven't tried it in my environment.
But if some else tested it, it would be nice to hear from him.