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 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 > due to shell interpretations. I was thinking I could get around this by > doing an execute() in workflow but that will only execute on the master. > In workflow, how can I execute a process on a slave without going though a > shell? > > Thanks > -- 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/37ba6d5f-243c-4bec-97ce-d19d06614b31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.