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

Blueocean /runs endpoint returns too many results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      In the latest Blueocean stable aggregate (1.1.0 beta2), the activity feed calls the following endpoint:

       

      https://jenkins.mysite.com/blue/rest/organizations/jenkins/pipelines/My%20Org/api/runs/?start=0&limit=26

       

      Returns too many results, causing the client to download nearly 1MB of JSON and spend significant time both waiting for the network request & parsing/displaying the results.

       

      The standard call, as above, `limit=26` results in 125 results being returned. `limit=1` results in 11 results being returned.

            Unassigned Unassigned
            strml Samuel Reed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: