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

Sidebar link icon relative links broken by last release

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Jenkins 1.576, sidebar-link plugin 1.6

      After updating both Jenkins and all plugins, I notice that the added links on my sidebar are missing their icon. My icons are stored in Jenkins' user content folder, and 'Link Icon' was set to /userContent/Jenkins-extra-link.png (so a link relative to the current site name, to make sure the link works with all the url variations possible with an 'internal' dns name, so the machine can be accessed under e.g. http://machine and http://machine.company.com). This used to produce a <img src="/userContent/Jenkins-extra-link.png"> (just what I entered) and that worked. Now it ends up doing <img src="//userContent/Jenkins-extra-link.png"> and that breaks.

      I see the "Copy Multi-configuration project" link (make by the "Matrix" or "Matrix reloaded" plugin I think) suffers the same issue:
      src="//plugin/copy-project-link/img/edit-copy.png" so this may not be related to the plugin itself?

          [JENKINS-24348] Sidebar link icon relative links broken by last release

          David Whitley added a comment -

          We see this issue also on upgrade from 1.574 to 1.576. Claim, Priority Sorter, Safe Restart, and Bulk Builder plugin icons in the Tasks and Views bar on the homepage all try to load from https://plugin/pluginname... as opposed to https://host:port/plugins/pluginname... This is causing load times on the home pages to regress as the browser searches for https://plugin. All affected plugins are up to date.

          David Whitley added a comment - We see this issue also on upgrade from 1.574 to 1.576. Claim, Priority Sorter, Safe Restart, and Bulk Builder plugin icons in the Tasks and Views bar on the homepage all try to load from https://plugin/pluginname ... as opposed to https://host:port/plugins/pluginname ... This is causing load times on the home pages to regress as the browser searches for https://plugin . All affected plugins are up to date.

          Daniel Beck added a comment -

          Core issue. Duplicates JENKINS-24316.

          Daniel Beck added a comment - Core issue. Duplicates JENKINS-24316 .

            Unassigned Unassigned
            legolas Arnt Witteveen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: