Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
-
-
1.0-m10
Description
I ran this job on blueocean.io
Calling the REST API there is nothing in the runs
charon:~ jdumay$ curl -s https://ci.blueocean.io/blue/rest/organizations/jenkins/pipelines/freestyle/runs/ | json_pp
[]
But there seems to be items in the queue
charon:~ jdumay$ curl -s https://ci.blueocean.io/blue/rest/organizations/jenkins/pipelines/freestyle/queue/ | json_pp [ { "pipeline" : "freestyle", "id" : "545", "_class" : "io.jenkins.blueocean.service.embedded.rest.QueueItemImpl", "queuedTime" : "2016-06-24T04:53:33.867+0000", "_links" : { "self" : { "href" : "/blue/rest/organizations/jenkins/pipelines/freestyle/queue/545/", "_class" : "io.jenkins.blueocean.rest.hal.Link" } }, "expectedBuildNumber" : 1 } ]
Attachments
Issue Links
- blocks
-
JENKINS-36209 Queued items should show on the activity tab
-
- Closed
-
I think we can make this work okay with two calls. If down the road we need start adding more calls for additional features, we may need to consider combining runs and queued items into a single call but for now I think we could get away without doing that. tscherler what do you think?
jamesdumay how should we sort the data on this screen? Would all queued items always display at the top of list, "ahead" of anything that was run or is currently running?