• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • workflow-job-plugin
    • None
    • CloudBees Jenkins Enterprise 2.7.19.0.1

      Currently the pipeline plugin prints the steps into the console output, prefixed with [Pipeline]

      [Pipeline] node
      Running on Agent1 in C:\Jenkins\workspace\TEST JOB
      [Pipeline] {
      [Pipeline] withEnv
      [Pipeline] {
      [Pipeline] withCredentials
      [Pipeline] {
      [Pipeline] bat
      [TEST JOB] Running batch script
      [Pipeline] }
      [Pipeline] // withCredentials
      [Pipeline] }
      [Pipeline] // withEnv
      [Pipeline] }
      [Pipeline] // node
      

      Is it possible to have a flag somewhere to disable this logging, either in the pipeline itself or configurable at a master level. I'd like to remove this extra logging as it adds too much information to our output. Ideally this should read:

      Running on Agent1 in C:\Jenkins\workspace\TEST JOB
      
      [TEST JOB] Running batch script
      

          [JENKINS-41845] Suppress default pipeline output

          Callum Banbery created issue -
          Callum Banbery made changes -
          Description Original: Currently the pipeline plugin prints the steps into the console output, prefixed with [Pipeline]

          {code:java}
          [Pipeline] node
          Running on Agent1 in C:\Jenkins\workspace\TEST JOB
          [Pipeline] {
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] withCredentials
          [Pipeline] {
          [Pipeline] bat
          [TEST JOB] Running batch script
          [Pipeline] }
          [Pipeline] // withCredentials
          [Pipeline] }
          [Pipeline] // withEnv
          [Pipeline] }
          [Pipeline] // node
          {code}

          Is it possible to have a flag somewhere to disable this logging, either in the pipeline itself or configurable at a master level. I'd like to remove this extra logging as is add too much information to our output. Ideally this should read:

          {code:java}
          Running on Agent1 in C:\Jenkins\workspace\TEST JOB

          [TEST JOB] Running batch script
          {code}
          New: Currently the pipeline plugin prints the steps into the console output, prefixed with [Pipeline]

          {code:java}
          [Pipeline] node
          Running on Agent1 in C:\Jenkins\workspace\TEST JOB
          [Pipeline] {
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] withCredentials
          [Pipeline] {
          [Pipeline] bat
          [TEST JOB] Running batch script
          [Pipeline] }
          [Pipeline] // withCredentials
          [Pipeline] }
          [Pipeline] // withEnv
          [Pipeline] }
          [Pipeline] // node
          {code}

          Is it possible to have a flag somewhere to disable this logging, either in the pipeline itself or configurable at a master level. I'd like to remove this extra logging as it adds too much information to our output. Ideally this should read:

          {code:java}
          Running on Agent1 in C:\Jenkins\workspace\TEST JOB

          [TEST JOB] Running batch script
          {code}
          Andrew Bayer made changes -
          Component/s New: workflow-step-api-plugin [ 21718 ]
          Component/s Original: pipeline [ 21692 ]
          Jesse Glick made changes -
          Component/s New: workflow-job-plugin [ 21716 ]
          Component/s Original: workflow-step-api-plugin [ 21718 ]
          Labels Original: pipeline
          Sam Van Oort made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Sam Van Oort made changes -
          Remote Link New: This issue links to "Workflow-job #90 (Web Link)" [ 20392 ]
          Jesse Glick made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-38381 [ JENKINS-38381 ]

            Unassigned Unassigned
            cbanbery Callum Banbery
            Votes:
            16 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated: