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

Blue Ocean dashboard long load due to parameterized builds?

XMLWordPrintable

      So when loading the blue ocean dashboard there's a api call made to:

      https://jenkins/blue/rest/search/?q=type:pipeline;organization:jenkins;pipeline:;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject&filter=no-folders&start=0&limit=26

      This call never finishes under normal conditions as it seems to be trying to evaluate the available values for parameterised builds.

      This is not working so great for us as we have several jobs which uses dynamic choice parameters based on scriptler using pretty slow scripts making nice dropdowns for selecting from git tags.

      As we are running jenkins behind an nginx proxy pass I tried to increase the timeouts to 300 seconds and could see that the request eventually finishes, after 2.6 minutes according to chrome devtools.

      If I try the api request manually with a range that excludes any of our slower parameterised builds it seems to resolve instantly. Seeing how the UI can apparently figure out that the inputs are unsupported it seem's weird that we are waiting for these parameters to resolve in the first place.

      Not sure about the priority, but since this renders the dashboard useless for us (major loss of function) I set it as major.

            Unassigned Unassigned
            flydiverny Markus Maga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: