Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37763

Ad number of "queued" and "running" jobs as properties to Pipeline object

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Critical Critical
    • blueocean-plugin
    • None
    • 1.0-beta-1

      Similar to how the API exposes the number of failing branches or PR's, we also want to expose the number of jobs that are currently running and queued. Property names can be whatever we like, perhaps "numberOfRunningJobs" and "numberOfQueuedJobs" would work?

      This will allow the UI to represent the overall state of a Pipeline more accurately, since "latestRun" can be ambiguous when multiple runs of the same pipeline are occurring.

          [JENKINS-37763] Ad number of "queued" and "running" jobs as properties to Pipeline object

          James Dumay added a comment -

          Set as blocker as it is blocking the linked ticket

          James Dumay added a comment - Set as blocker as it is blocking the linked ticket

          Vivek Pandey added a comment -

          cliffmeyers I named these elements numberOfRunningPipelines and numberOfQueuedPipelines to be consistent.

          Vivek Pandey added a comment - cliffmeyers I named these elements numberOfRunningPipelines and numberOfQueuedPipelines to be consistent.

            vivek Vivek Pandey
            cliffmeyers Cliff Meyers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: