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

JENKINS HTML Publisher Plugin unable to click on collapse dropdowns

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have updated my Jenkins from 1.6.2 to 2.6.2 and also updated the HTML Publisher Plugin, ever since I am unable to click on the collapsible drop-downs, seems like the javascript is not working. It is there but is not showing when I click the plus sign. Also, the images links are not displaying correctly. Any help is appreciated. Thank you in advance. Images are below.

       

        Attachments

          Activity

          Hide
          pgmarco Peter Giammarco added a comment -

          You can close this, I was able to figure out why, needed to edit the Content-Security-Policy in Jenkins. Added this line to my jenkins.xml file.

          -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle "-Dhudson.model.DirectoryBrowserSupport.CSP=script-src 'unsafe-inline';"
             -jar "%BASE%\jenkins.war" --httpPort=8080

           

          Show
          pgmarco Peter Giammarco added a comment - You can close this, I was able to figure out why, needed to edit the Content-Security-Policy in Jenkins. Added this line to my jenkins.xml file. -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle "-Dhudson.model.DirectoryBrowserSupport.CSP=script-src 'unsafe-inline';"    -jar "%BASE%\jenkins.war" --httpPort=8080  

            People

            • Assignee:
              mcrooney mcrooney
              Reporter:
              pgmarco Peter Giammarco
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: