Thanks for your reply but that doesn't work either. вторник, 19 мая 2015 г., 18:58:12 UTC+3 пользователь Baptiste Mathus написал: > > Cannot try just now. But wild guess: as this is groovy, you may want to > try triple quoting (just use """ instead of one ") the outside expression. > Not sure it will work though since what you did already looks correct to me. > > My 2 cents > Le 19 mai 2015 5:40 PM, "Alexander Uvizhev" <uvi...@gmail.com > <javascript:>> a écrit : > >> To be clear what I try to do is: >> sh"myexecutable 'argument'" >> >> >> >> вторник, 19 мая 2015 г., 18:38:18 UTC+3 пользователь Alexander Uvizhev >> написал: >>> >>> I need to execute shell command with quoted argument like this: >>> myexecutable 'argument' >>> That's because argument can be interpreted wrong in some cases e.g. >>> "-input_value_looking_like_param". >>> Seems like 'sh' wipes all quotes in command string no matter what types >>> of escaping I tried. >>> Is there a way? >>> >> -- >> 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-use...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/e5beb569-8bdd-4058-a779-0cb86180b59f%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/e5beb569-8bdd-4058-a779-0cb86180b59f%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/186315b7-6e1e-4f4e-88c0-868fd111cbde%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.