When executing a groovy script which accepts some parameters as input and some parameters contain a '$' (e.g. some$pass!) the following happens:
If I understand the code correctly the behaviour of the token-macro plugin trying to expand the contents of the parameters is wanted (
JENKINS-11914 is related to this). However it is problematic when passing on parameters which contain a '$' and should not be expanded.
Therefore a feature which lets the user define whether a specific parameter or all parameters should be expanded would be useful.