Skip to content

Instantly share code, notes, and snippets.

@ansig
Created November 30, 2018 06:24
Show Gist options
  • Save ansig/b8b695a44f9ae6d4f9af781235f9641a to your computer and use it in GitHub Desktop.
Save ansig/b8b695a44f9ae6d4f9af781235f9641a to your computer and use it in GitHub Desktop.
Setting the Content Security Config in Jenkins to properly show Maven site html
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox; default-src 'none'; img-src 'self'; style-src 'self' 'unsafe-inline';")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment