Hi,
Did you try to surround your variable with quotes?
Might be a bit tricky sometimes because of the multiple interpolations.
Something like:
sh "mvn blah Dpassword='$password_param' "
HTH
Le 3 déc. 2015 8:36 PM, "Mark Bidewell" a écrit :
> In case anyone sees this, I will post my workaround.
In case anyone sees this, I will post my workaround.
1) use writeFile to write the command-line to a file
2) create a script that reads the file, and does a fork-exec using the file
contents as a command-line.
On Monday, November 30, 2015 at 8:34:48 PM UTC-5, Mark Bidewell wrote:
>
> I am using W
I am using Workflow to automate the Maven Release Plugin. Since Maven is
not directly supported via workflow, I use the sh step to call Maven. One
of the parameters this plugin takes is the password to use for checkins,
however if passwords contain special characters, the "sh" step will fail