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

Hiding certain steps from the "Running Steps" tree

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • pipeline
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick added a comment -

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

            jglick Jesse Glick added a comment - That is already addressed to some extent in a separate issue.

            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.

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

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: