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

Hiding certain steps from the "Running Steps" tree

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • pipeline
    • None

      It would be nice if we could hide certain steps from the build tree in "Running Steps".

      For example:

      dir('foo') {
        echo "Starting to build"
        sh "mkdir -p result"
        sh "make build"
        archive "result/*'
      }
      

      Here we are interested in the results and console log only of the sh "make build" step and we very likely don't need the results for Change Directory: start, Change Directory: body start, Print message, first "sh" step and Archive artifacts.
      This probably should also be made configurable so that we can enable these while debugging.

      Probably it is already covered by https://issues.jenkins-ci.org/browse/JENKINS-26107. Feel free to close my ticket if it is so.

          [JENKINS-26987] Hiding certain steps from the "Running Steps" tree

          Timur Batyrshin created issue -
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26107 [ JENKINS-26107 ]

          Jesse Glick added a comment -

          Running Steps is itself intended to be a debugging view, and so should show all steps. For routine examination of builds, see the text console (or the stage view if you have Jenkins Enterprise).

          Jesse Glick added a comment - Running Steps is itself intended to be a debugging view, and so should show all steps. For routine examination of builds, see the text console (or the stage view if you have Jenkins Enterprise).
          Jesse Glick made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          But text console produces intermixed output of the parallel builds. It's quite challenging to separate the text from different branches in the combined console output.

          Timur Batyrshin added a comment - But text console produces intermixed output of the parallel builds. It's quite challenging to separate the text from different branches in the combined console output.

          Jesse Glick added a comment -

          That is already addressed to some extent in a separate issue.

          Jesse Glick added a comment - That is already addressed to some extent in a separate issue.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161175 ] New: JNJira + In-Review [ 196671 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-44094 [ JENKINS-44094 ]

            jglick Jesse Glick
            erthad Timur Batyrshin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: