Relative links to job are built very slowly

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Stanislav Bashkyrtsev
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: