Stefan Eder edited a comment on New Feature JENKINS-17259

In the meantime I did a workaround to prevent this error:

  • Upgraded to token-macro plugin 1.6
  • Used "expandAll" method with the "throwException" parameter set to "false"

This will return the value of the parameter, if no defined build or environment variable is found. It might be a cheap solution for the stated problem but might not be the behaviour every user of this plugin is looking for (e.g. would pass on ${someVar} if not expandable to the script instead of stopping with an error).

However it works for me.

I attached the patch file. Maybe it is of some use.

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