• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • email-ext-plugin
    • None

      When Jenkins sends an email (html jelly template) most of the icons are not displayed because the "browser" of the email client is not logged in in Jenkins.

      I verified this by copying the links from the email and pasted into a private browser tab (firefox & IE )

      eg:

      following icons are working without login and will be displayed in an email:

      http://jenkins.internal/static/fc07e4a1/images/16x16/health-80plus.png

      http://jenkins.internal/images/16x16/health-80plus.png

       

      Icons which are not displayed (because the request is not allowed for anonymous users.. )

      http://jenkins.internal/static/e59dfe28/images/32x32/blue.png

      http://jenkins.internal/images/32x32/blue.png

       

      In the jelly templates all icons except the health section are not display in the mail.

       

      It would work if the icons can be accessed without login.

      I have searched for a solution but until now i haven't found one.

       

      Regards Alex

          [JENKINS-55277] Icons in html Email are not displayed

          I am able to download the blue.png when not logged in on my jenkins and as far as I know /static and /images should never require authentication

          David van Laatum added a comment - I am able to download the blue.png when not logged in on my jenkins and as far as I know /static and /images should never require authentication

          Alex Z added a comment -

          Well, when I try to display them in the browser (private mode) I get redirected to the jenkins login dialog.

          I guess it depends if the jenkins projects are public available or not - on our jenkins server you have to login first to see something?

           

          Alex Z added a comment - Well, when I try to display them in the browser (private mode) I get redirected to the jenkins login dialog. I guess it depends if the jenkins projects are public available or not - on our jenkins server you have to login first to see something?  

          Only thing I can think of is if your using some kind of authenticating reverse proxy in front of jenkins if that is the case and it doesn't have exceptions for images and such that will happen

          David van Laatum added a comment - Only thing I can think of is if your using some kind of authenticating reverse proxy in front of jenkins if that is the case and it doesn't have exceptions for images and such that will happen

            davidvanlaatum David van Laatum
            alexz707 Alex Z
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: