Judging by your output, I would hazard a guess that ‘$’ escapes the ‘$’, so to get ‘$$’ you would use ‘$$$$’, not ‘\$\$’. Just a guess though.
From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Shobha Dashottar Sent: Friday, December 05, 2014 5:00 AM To: jenkinsci-users@googlegroups.com Subject: Credentials Plugin : escape characters don't work? I am using the Credentials Plugin "username:password". I get the credentials using the "use secrets" option into the environment but the special characters are getting messed up. It appears the Plugin is not recognizing the backslash as a special character. I have a $$ in my password string and that somehow gets translated to $. Is there a separate set of escape characters it understands. \$\$ translates to \$\$ but \$$ translates to \$ Thanks Shobha. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ae94bdce-9a40-4918-b1a2-b5dd61d8dee8%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/ae94bdce-9a40-4918-b1a2-b5dd61d8dee8%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7353A46BAD86E241BF66392B054AC87F09A4F12B%40kamek.burlington.evertz.tv. For more options, visit https://groups.google.com/d/optout.