Details
-
Type:
Story
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: blueocean-plugin
-
Labels:None
-
Similar Issues:
-
Epic Link:
-
Sprint:Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2
Description
Problem
Pipelines that are queued are reported as running
Steps to reproduce
- Setup the app store demo pipeline https://github.com/i386/app-store-demo
- disable all executors
- run the master branch
- The run is reported in Blue Ocean as running rather than queued
Notes
Pipeline queue item is queued but the run is reported as running BlueRunState.RUNNING when it should be reported as BlueRunState.QUEUED
If no nodes in pipeline are running then run state is QUEUED as it is indeed. If at least one of the node is in running state Run state is RUNNING.
Its important to know that we do some things at the Pipeline run level to calculate the "input" state of a Pipeline run in Blue Ocean (I think we search for the InputAction on the run and if there are any then we say that the state is "input")
Attachments
Issue Links
- relates to
-
JENKINS-44981 Developer can see node steps within the step listing
-
- Open
-
-
JENKINS-41344 Steps with "causeOfBlockage" should show indeterminate indicator
-
- Open
-
- links to
PR up at https://github.com/jenkinsci/blueocean-plugin/pull/1184 - originally thought of it as JENKINS-44981, but I've realized that it should actually be solving this issue directly, while it'll take some more UI-side changes to solve JENKINS-44981.