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

Relative links to job are built very slowly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core

      If a View contains 10 jobs, while building relative links Jenkins would build this view 10 times iterating over all Jenkins jobs. This is an extremely inefficient way of building links.

      Details:

      • projectView.jelly#L84 this one asks Functions to build a relative link.
      • Functions.java#L1008 it obtains all items of the view which builds it and accesses Security to iterate through all the jobs in Jenkins. Note, that this code was added 2 months ago.

      Either there should be a different way of building relative path or a different way for building view items.

            Unassigned Unassigned
            ctapobep Stanislav Bashkyrtsev
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: