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

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

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • atlantic, indian, iapetus

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

          [JENKINS-38529] API Steps, stages and parallels should reflect the "aborted"

          James Dumay added a comment -

          svanoort similar question as before - can flow nodes be marked "unstable"?

          James Dumay added a comment - svanoort similar question as before - can flow nodes be marked "unstable"?

          Sam Van Oort added a comment -

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

          Sam Van Oort added a comment - jamesdumay For Blue Ocean's purposes, assume that FlowNodes can individually be unstable, in the Bismuth outputs (although it's not common currently).

          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)

          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)

          Michael Neale added a comment -

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

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

          James Dumay added a comment -

          James Dumay added a comment - michaelneale ack

          James Dumay added a comment -

          vivek it turns out this one is still relevant.

          James Dumay added a comment - vivek it turns out this one is still relevant.

          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)

          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)

          James Dumay added a comment -

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

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

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

              Created:
              Updated:
              Resolved: