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

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

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: