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

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

    • 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.

          [JENKINS-37338] Pipeline scripts that should appear in /queue are returned in /runs API

          Cliff Meyers created issue -
          Cliff Meyers made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          Cliff Meyers made changes -
          Link New: This issue is related to JENKINS-37337 [ JENKINS-37337 ]
          James Dumay made changes -
          Sprint New: 1.0-beta-1 [ 96 ]
          James Dumay made changes -
          Rank New: Ranked lower
          James Dumay made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Rank New: Ranked lower
          James Dumay made changes -
          Sprint Original: 1.0-beta-1 [ 96 ]
          James Dumay made changes -
          Sprint New: 1.0-beta-2 [ 111 ]
          James Dumay made changes -
          Rank New: Ranked higher

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

              Created:
              Updated:
              Resolved: