HTML Publisher Report CSS not loading for https/secure Jenkins URL

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: Major
    • Component/s: htmlpublisher-plugin
    • None
    • Environment:
      Jenkins 2.277.2 , HTML Publish plugin, Selenium, TestNg

      CSS and images are not loading if I switch from http to https Jenkins. My jenkins startup script looks like :-

      https -->jenkinsStartup.bat (CSS/images does not load properly in Jenkins extent Report  for below case -->

      java -Dhudson.model.DirectoryBrowserSupport.CSP="" -jar "C:\JenkinsWar\jenkins.war" --httpsPort=443 --httpPort=-1 --httpsKeyStore="C:\JenkinsWar\cert\wildcard_domainname_com.jks" --httpsKeyStorePassword=XXXYYYYZZZZ 

      http >jenkinsStartup.bat (CSS load properly in Jenkins extent Report for below case>

      java -Dhudson.model.DirectoryBrowserSupport.CSP="" -jar "C:\JenkinsWar\jenkins.war" --httpsPort=80

       

      Please help.

      Br ,  Ashwnikumar

       

            Assignee:
            Richard Bywater
            Reporter:
            Ashwini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: