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

API Steps, stages and parallels should reflect the "aborted"

    Details

    • Similar Issues:
    • Epic Link:
    • Sprint:
      atlantic, indian, iapetus

      Description

      In Scope

      • Ensure that API for steps, stages and parallels reflects the "aborted" state when a step is aborted
      • When the Pipeline is aborted the stage & parallels shows up as failed. The stages & parallels should show up as aborted.
      • When the Pipeline is aborted the executing steps show up as failed. The steps should show up as aborted.
      • One this is completed, test that this works in the UI. If it does not work open a GUI ticket for updating it to handle the ABORTED state correctly.

      Notes
      Sam Van Oort has provided some technical details

      Note that at least for stage, there is no result set. I aborted a build (kzantow/failure-project "passing" branch) and I saw the following:

      {
      "_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeImpl",
      "_links": {},
      "actions": [],
      "displayName": "Archive",
      "durationInMillis": 0,
      "id": "9",
      "result": null,
      "startTime": null,
      "state": null,
      "edges": []
      }
      

      Which is not correct.

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            Sam Van Oort similar question as before - can flow nodes be marked "unstable"?

            Show
            jamesdumay James Dumay added a comment - Sam Van Oort similar question as before - can flow nodes be marked "unstable"?
            Hide
            svanoort Sam Van Oort added a comment -

            James Dumay For Blue Ocean's purposes, assume that FlowNodes can individually be unstable, in the Bismuth outputs (although it's not common currently).

            Show
            svanoort Sam Van Oort added a comment - James Dumay For Blue Ocean's purposes, assume that FlowNodes can individually be unstable, in the Bismuth outputs (although it's not common currently).
            Hide
            michaelneale Michael Neale added a comment -

            Note: I think this might be done - just need to check aborted is ok (separate ticket for known problems with unstable)

            Show
            michaelneale Michael Neale added a comment - Note: I think this might be done - just need to check aborted is ok (separate ticket for known problems with unstable)
            Hide
            michaelneale Michael Neale added a comment -

            James Dumay this is still a prblem with aborted (I updated ticket). Unstable has another ticket to make it behave correctly so changed scope.

            Show
            michaelneale Michael Neale added a comment - James Dumay this is still a prblem with aborted (I updated ticket). Unstable has another ticket to make it behave correctly so changed scope.
            Hide
            jamesdumay James Dumay added a comment -
            Show
            jamesdumay James Dumay added a comment - Michael Neale ack
            Hide
            jamesdumay James Dumay added a comment -

            Vivek Pandey it turns out this one is still relevant.

            Show
            jamesdumay James Dumay added a comment - Vivek Pandey it turns out this one is still relevant.
            Hide
            michaelneale Michael Neale added a comment -

            IF this requires some deeper changes to pipeline, we probably will punt this to another sprint (please do investigate if this is a small or a big change)

            Show
            michaelneale Michael Neale added a comment - IF this requires some deeper changes to pipeline, we probably will punt this to another sprint (please do investigate if this is a small or a big change)
            Hide
            jamesdumay James Dumay added a comment -

            This was already done at some point to support JENKINS-38496

            Show
            jamesdumay James Dumay added a comment - This was already done at some point to support JENKINS-38496

              People

              • Assignee:
                vivek Vivek Pandey
                Reporter:
                jamesdumay James Dumay
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: