// Allow 'unsafe-inline'
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox; default-src 'none'; img-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline';")
// Verify the setting
System.getProperty("hudson.model.DirectoryBrowserSupport.CSP")
Last active
February 23, 2018 03:05
-
-
Save dino-su/65360515d6cd989a2587e80e0f17a5aa to your computer and use it in GitHub Desktop.
Relaxing Jenkins Content Security Policy.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment