hi!
I have this script, which works fine in the Jenkins Script Console:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox allow-scripts allow-same-origin; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;")`
I need this to run on every startup. Documentation provides examples of running groovy scripts from a designated folder on startup...on linux. Is there an option for Windows, or do I have to translate this to arguments? How do I do that with this cryptic command?
Any help is appreciated!