-
Bug
-
Resolution: Fixed
-
Major
-
-
1.0-japan-m9
The API is returning "UNKNOWN" for running state, not "RUNNING".
To reproduce, run a pipeline with the following:
node { sleep 1000 }
Then hit up the url for the run and you will see:
{ "_class": "io.jenkins.blueocean.service.embedded.rest.PipelineRunImpl", "artifacts": [], "changeSet": [], "durationInMillis": 0, "enQueueTime": "2016-05-25T12:43:34.462+1000", "endTime": null, "estimatedDurationInMillis": 100123, "id": "2", "organization": "jenkins", "pipeline": "testing", "result": "UNKNOWN", "runSummary": "?", "startTime": "2016-05-25T12:43:34.465+1000", "state": "RUNNING", "type": "WorkflowRun", "commitId": null }
[JENKINS-35733] Running build is shown as "UNKNOWN" incorrectly (purple vomit)
Attachment | New: Screen Shot 2016-05-18 at 4.41.48 PM.png [ 16907 ] |
Epic Link | New: UX-70 [ 25240 ] |
Rank | New: Ranked higher |
Sprint | New: 1.0-m7 [ 61 ] |
Description | Original: This should be red, right? |
New:
The API is returning "UNKNOWN" for running state, not "RUNNING". |
What I see is:
what I expect is:
Is this right jdumay ?