-
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
}