yeah same for me as well Execute these below commands in Manage Jenkins -> Script Console to enabled respective properities. But to enable more than one properties below solution won't work. CSS System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';base-uri 'self';form-action 'self' ") JS System.setProperty("hudson.model.DirectoryBrowserSupport.CSP","sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;") If i enable one property other property gets ripped. How to enable both and these are temporary fixes that is after restart will now work. Need permanent fix for this.
it would be nice to get some more details, for example, what determines the type of archiving, example: Archiving at BUILD level versus Archiving at PROJECT level?
Helpful as always. Thanks for sharing.👍
how to post HTML test report on Slack after Jenkins Job completed
can we generate this kind of html report from powershell or shell script command output?
What happens when the workspace gets deleted in your next build?
Failed to load resource (CSS file, 403 error). Is it due to CSP ? If it is, what is the solution for it?
Can we publish power bi or tableau
nice example. thank you
I can generate the report but for me css and js is broken. how I can fix this?
search stackoverflow: broken css jenkins html report, it will give a script to run
yeah same for me as well
Execute these below commands in Manage Jenkins -> Script Console to enabled respective properities. But to enable more than one properties below solution won't work.
CSS
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';base-uri 'self';form-action 'self' ")
JS
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP","sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;")
If i enable one property other property gets ripped. How to enable both and these are temporary fixes that is after restart will now work. Need permanent fix for this.
Nice vid. How about gradle, is the steps are same with Maven.
it would be nice to get some more details, for example, what determines the type of archiving, example: Archiving at BUILD level versus Archiving at PROJECT level?
good
one