[JIRA] (JENKINS-50254) No CSS being rendered
Title: Message Title Richard Lewis created an issue Jenkins / JENKINS-50254 No CSS being rendered Issue Type: Bug Assignee: Richard Bywater Attachments: Screen Shot 2018-03-19 at 14.27.18.png, Screen Shot 2018-03-19 at 14.28.55.png Components: htmlpublisher-plugin Created: 2018-03-19 14:38 Priority: Minor Reporter: Richard Lewis Hi When clicking the link to view my HTML report I get taken to my report page but no CSS is being rendered The CSS and JS for the page is in the head of the document. Would there be any obvious reason as to why the page is rendering this way? Thanks Add Comment
[JIRA] (JENKINS-50254) No CSS being rendered
Title: Message Title Richard Bywater commented on JENKINS-50254 Re: No CSS being rendered This sounds like Content Security Policy hasn't been configured as per https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy - are you able to give that a go and see if that fixes things? (Please note that it will only work on new HTML reports not previously created ones) Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50254) No CSS being rendered
Title: Message Title Richard Lewis commented on JENKINS-50254 Re: No CSS being rendered Thanks, that has worked (Should have looked at that first, apologies), happy for this to be closed, thanks for the help Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50254) No CSS being rendered
Title: Message Title Richard Bywater commented on JENKINS-50254 Re: No CSS being rendered All good - its sometimes hard to spot. This comes up quite a bit so was wondering if there is a particular place that you think it would have helped to have it pointed out clearly to make sure that you have the correct settings? (e.g. the Wiki page, the Github page, somewhere else?) Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50254) No CSS being rendered
Title: Message Title Richard Lewis commented on JENKINS-50254 Re: No CSS being rendered I think (for me) there was a lot of information (slightly overwhelming) but probably necessary due to the possible consequences of making changes of this nature. In the end i found an answer on StackOverflow that pointed out that changes could be made directly in the Script Console setting System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "default-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';") This was the only way i could get the inline scripts to run (not saying this is the best way mind) Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50254) No CSS being rendered
Title: Message Title Richard Bywater closed an issue as Not A Defect Thanks - will continue to look at ways of making the CSP stuff a bit more visible to avoid this in the future but, in the meantime, glad to hear that you are all up and running. Jenkins / JENKINS-50254 No CSS being rendered Change By: Richard Bywater Status: Open Closed Resolution: Not A Defect Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it,