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

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

    XMLWordPrintable

Details

    • 1.0-beta-1

    Description

      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.

      Attachments

        Issue Links

          Activity

            jamesdumay James Dumay added a comment -

            Set as blocker as it is blocking the linked ticket

            jamesdumay James Dumay added a comment - Set as blocker as it is blocking the linked ticket
            vivek Vivek Pandey added a comment -

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

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: