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

Pipeline scripts that should appear in /queue are returned in /runs API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • blueocean-plugin
    • 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.

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

              Created:
              Updated:
              Resolved: