Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23027

Quieter launch

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          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-23027 Using Launcher.ProcStarter.quiet when available.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - 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-23027 Using Launcher.ProcStarter.quiet when available.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          core/src/main/java/hudson/Launcher.java
          test/src/test/java/hudson/LauncherTest.java
          http://jenkins-ci.org/commit/jenkins/11ab9be6ef12e6b4b961809131fc72da86af6d72
          Log:
          [FIXED JENKINS-23027] Added Launcher.ProcStarter.quiet option.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/Launcher.java test/src/test/java/hudson/LauncherTest.java http://jenkins-ci.org/commit/jenkins/11ab9be6ef12e6b4b961809131fc72da86af6d72 Log: [FIXED JENKINS-23027] Added Launcher.ProcStarter.quiet option.
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #3594
          [FIXED JENKINS-23027] Added Launcher.ProcStarter.quiet option. (Revision 11ab9be6ef12e6b4b961809131fc72da86af6d72)

          Result = SUCCESS
          Jesse Glick : 11ab9be6ef12e6b4b961809131fc72da86af6d72
          Files :

          • core/src/main/java/hudson/Launcher.java
          • changelog.html
          • test/src/test/java/hudson/LauncherTest.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3594 [FIXED JENKINS-23027] Added Launcher.ProcStarter.quiet option. (Revision 11ab9be6ef12e6b4b961809131fc72da86af6d72) Result = SUCCESS Jesse Glick : 11ab9be6ef12e6b4b961809131fc72da86af6d72 Files : core/src/main/java/hudson/Launcher.java changelog.html test/src/test/java/hudson/LauncherTest.java

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              jglick Jesse Glick
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: