[Regression] Custom avatar icons broken since 2.335 on dashboard

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: core
    • Environment:
      Linux, Docker, Version 2.335

      Currently the icon URLs on the dashboard that come from the avatar-cache are broken, since they are prepended by a slash . This occurs when using project folders with Bitbucket branch source plugin. Downgrading Jenkins to 2.334 fixes this issue.

      I think it was introduced with Pull 6273.

      For example the icon URLs look like the following:

      <td class="jenkins-table__cell--tight jenkins-table__icon">
          <div class="jenkins-table__cell__button-wrapper">
              <img src="/https://ci.mydomain.local/custom-avatar-cache/ad0d8b1a9a6c35b1c1f140a5713d45be.png?size=32x32" 
                   alt="Bitbucket Team/Project"
                   tooltip="Bitbucket Team/Project" 
                   class="icon-lg">
          </div>
      </td>
      

       

            Assignee:
            Unassigned
            Reporter:
            Fabian Grutschus
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: