They probably are all executed, just the output is not redirect (yeah IO
pipe into pipeline are not so funny so far). You can use the redirect stdout
*The good*
println(shell(['returnStdout': true, 'script': "git --version" ]));
*The bad*
This doesn't split std::out and std::cerr either, so you are on your own to
split and parse the whole thing.
*The ugly*
You cannot return both the return value ('returnStatus': true) and the
stdout at the same time! So you are totaly out of luck if you need both.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/24433db3-4d0f-445d-bcce-77d50d73aba0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.