Created
July 21, 2021 09:04
-
-
Save willycedric/44980bca9b24d6b41768a9069cfe17a5 to your computer and use it in GitHub Desktop.
How to allow css and javascript in jenkins report
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Jenkins server | |
A permanent fix is to change a line in [Jenkins directory]\jenkins.xml (for me it's at C:\Jenkins\jenkins.xml) | |
<executable>java.exe</executable> | |
<arguments>[arguments are here]</arguments> | |
Add the following argument to the whitespace-separated list of arguments: | |
-Dhudson.model.DirectoryBrowserSupport.CSP= | |
-Dfile.encoding=UTF-8 | |
e.g: <arguments>-Xrs -Xmx256m -Dhudson.model.DirectoryBrowserSupport.CSP= -Dfile.encoding=UTF-8 | |
source:https://stackoverflow.com/questions/35783964/jenkins-html-publisher-plugin-no-css-is-displayed-when-report-is-viewed-in-j |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment