-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
from cliffmeyers:
Hitting the /runs REST API for a Pipeline shows all the job runs, including those that probably should be in the /queue. The status of all jobs is "RUNNING" which also feels a bit misleading.
from vivek
What needs to happen is that if a build item is in queue, should not be returned. We should not be mixing run object with queue because they are vastly different. There is already an API /pipeline/:id/activities Ivan implemented to give all runs and items in queue, so if this is what you look for you can use that.
- is related to
-
JENKINS-37337 Pipeline scripts that appear as "queued" in classic UI are not returned from /queue API
-
- Closed
-