same issue for me too. printing out the shell env (env command) shows that the env var is automatically setting
value$
instead of
value$$
Does anyone know where this behaviour is documented? I cannot find anything about this on https://wiki.jenkins.io/display/JENKINS/Parameterized+Build. Did I miss something?
I wrote down my own experience in https://stackoverflow.com/a/58951240/601203