-
Bug
-
Resolution: Fixed
-
Major
BourneShellScript.doLaunch (and to a lesser extent WindowsBatchScript) emit a complex and (to the user) irrelevant command the build log. It seems that Launcher provides no way of controlling how the cmds are printed other than masking some arguments. In this case we would like to print the original shell script being run, probably with some comment indicating that it is being wrapped for durability.
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jenkinsci/plugins/durabletask/BourneShellScript.java
src/main/java/org/jenkinsci/plugins/durabletask/WindowsBatchScript.java
http://jenkins-ci.org/commit/durable-task-plugin/6dc99309d2f242f4606fdcb627b0dcab89d15992
Log:
JENKINS-23027Using Launcher.ProcStarter.quiet when available.