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

Individual Pipeline steps and stages/blocks should have Result statuses

    Details

    • Similar Issues:
    • Sprint:
      Pipeline - July/August, Pipeline - October, Pipeline - April 2018
    • Released As:
      Pipeline: API 2.34

      Description

      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.

        Attachments

          Issue Links

            Activity

            abayer Andrew Bayer created issue -
            abayer Andrew Bayer made changes -
            Field Original Value New Value
            Link This issue blocks JENKINS-39203 [ JENKINS-39203 ]
            abayer Andrew Bayer made changes -
            Link This issue blocks JENKINS-43292 [ JENKINS-43292 ]
            abayer Andrew Bayer made changes -
            Link This issue relates to JENKINS-26522 [ JENKINS-26522 ]
            svanoort Sam Van Oort made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Duplicate [ 3 ]
            abayer Andrew Bayer made changes -
            Resolution Duplicate [ 3 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            Assignee Andrew Bayer [ abayer ]
            leedega Kevin Phillips made changes -
            Link This issue relates to JENKINS-45579 [ JENKINS-45579 ]
            jamesdumay James Dumay made changes -
            Labels blueocean
            abayer Andrew Bayer made changes -
            Epic Link JENKINS-35400 [ 171193 ]
            abayer Andrew Bayer made changes -
            Sprint Pipeline - July/August [ 371 ]
            abayer Andrew Bayer made changes -
            Epic Link JENKINS-35400 [ 171193 ] JENKINS-45818 [ 184028 ]
            abayer Andrew Bayer made changes -
            Assignee Andrew Bayer [ abayer ] Sam Van Oort [ svanoort ]
            svanoort Sam Van Oort made changes -
            Assignee Sam Van Oort [ svanoort ]
            jamesdumay James Dumay made changes -
            Sprint Pipeline - July/August [ 371 ] Pipeline - July/August, Pipeline - October [ 371, 406 ]
            jamesdumay James Dumay made changes -
            Assignee Andrew Bayer [ abayer ]
            jamesdumay James Dumay made changes -
            Sprint Pipeline - July/August, Pipeline - October [ 371, 406 ] Pipeline - July/August, Pipeline - October, Pipeline - December [ 371, 406, 446 ]
            abayer Andrew Bayer made changes -
            Status Reopened [ 4 ] In Progress [ 3 ]
            abayer Andrew Bayer made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            abayer Andrew Bayer made changes -
            Assignee Andrew Bayer [ abayer ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CD-380 (Web Link)" [ 19519 ]
            vivek Vivek Pandey made changes -
            Assignee Sam Van Oort [ svanoort ]
            vivek Vivek Pandey made changes -
            Sprint Pipeline - July/August, Pipeline - October, Pipeline - December [ 371, 406, 446 ] Pipeline - July/August, Pipeline - October, Pipeline - March 2018 [ 371, 406, 506 ]
            jamesdumay James Dumay made changes -
            Description 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. *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.
            jbriden Jenn Briden made changes -
            Labels blueocean blueocean roadmap
            jbriden Jenn Briden made changes -
            Rank Ranked higher
            drulli Ulli Hafner made changes -
            Link This issue blocks JENKINS-54373 [ JENKINS-54373 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-28119 [ JENKINS-28119 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-55255 [ JENKINS-55255 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-53350 [ JENKINS-53350 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-46170 [ JENKINS-46170 ]
            saad_azam Saad Azam made changes -
            Attachment image-2019-04-17-14-23-53-010.png [ 46802 ]
            dnusbaum Devin Nusbaum made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Assignee Sam Van Oort [ svanoort ] Devin Nusbaum [ dnusbaum ]
            Resolution Fixed [ 1 ]
            Released As Pipeline: API 2.34
            dnusbaum Devin Nusbaum made changes -
            Remote Link This issue links to "jenkinsci/workflow-api-plugin#91 (Web Link)" [ 22917 ]
            famod Falko Modler made changes -
            Link This issue is blocking JENKINS-59583 [ JENKINS-59583 ]

              People

              • Assignee:
                dnusbaum Devin Nusbaum
                Reporter:
                abayer Andrew Bayer
              • Votes:
                131 Vote for this issue
                Watchers:
                146 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: