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

Individual Pipeline steps and stages/blocks should have Result statuses

    • Pipeline - July/August, Pipeline - October, Pipeline - April 2018
    • Pipeline: API 2.34

      Problem
      Currently, the only status we have for an individual FlowNode (be it representing an atomic Step or a block) is whether it has an ErrorAction. Blue Ocean would like to be able to visualize other Result types (such as UNSTABLE and ABORTED) distinctly, as well as to be able to have all steps/blocks get marked as UNSTABLE or ABORTED if only one step/block actually is unstable or was aborted.

      Approach
      We want to have a shared understanding of how the status system should work before we attempt a long refactor of the Pipeline status system. The first goal is to build a throwaway simulator that we can use to describe a Pipeline, the status of its steps and what the resulting stage, parallel and pipeline status should be. This is used to develop a set of scenarios that will be used to define the specification for the refactor.

      Before moving onto the real changes there must be consensus among the team that this is the desired behaviour.

          [JENKINS-43995] Individual Pipeline steps and stages/blocks should have Result statuses

          Andrew Bayer created issue -
          Andrew Bayer made changes -
          Link New: This issue blocks JENKINS-39203 [ JENKINS-39203 ]
          Andrew Bayer made changes -
          Link New: This issue blocks JENKINS-43292 [ JENKINS-43292 ]

          Andrew Bayer added a comment -

          So this is similar to/overlaps with JENKINS-26522, but I'm not 100% sure that this makes sense to be implemented with tags. Needs discussion and thought.

          Andrew Bayer added a comment - So this is similar to/overlaps with JENKINS-26522 , but I'm not 100% sure that this makes sense to be implemented with tags. Needs discussion and thought.
          Andrew Bayer made changes -
          Link New: This issue relates to JENKINS-26522 [ JENKINS-26522 ]

          Sam Van Oort added a comment -

          Duplicate of JENKINS-26522

          Sam Van Oort added a comment - Duplicate of JENKINS-26522
          Sam Van Oort made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          Andrew Bayer added a comment -

          Re-opening - JENKINS-26522 is similar, but I think this needs its own specific solution.

          Andrew Bayer added a comment - Re-opening - JENKINS-26522 is similar, but I think this needs its own specific solution.
          Andrew Bayer made changes -
          Assignee New: Andrew Bayer [ abayer ]
          Resolution Original: Duplicate [ 3 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          Kevin Phillips made changes -
          Link New: This issue relates to JENKINS-45579 [ JENKINS-45579 ]

            dnusbaum Devin Nusbaum
            abayer Andrew Bayer
            Votes:
            131 Vote for this issue
            Watchers:
            148 Start watching this issue

              Created:
              Updated:
              Resolved: