Configuring content security policy

13 views
Skip to first unread message

KaliRajan G

unread,
Feb 23, 2017, 7:25:40 AM2/23/17
to Jenkins Users
Jenkins doesn’t allow the CSS and Font Styles (Configuring Content Security Policy) as per Jenkins security policy by default. We want to enable that the CSS and Font styles. So, we used the below groovy command to enable the CSS and Font Styles.
Groovy command:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
Even also font styles were not applied. How can i enable the font styles to Jenkins to view the html file with CSS and Font Styles applied? Is there any help documentation link?
Reply all
Reply to author
Forward
0 new messages