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

          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).

          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.

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

              Created:
              Updated:
              Resolved: