Trying to add new system properties to Jenkins through its GUI through script console like : System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "") and some other properties but they're removed whenever I restart Jenkins.
Is there a way to save the properties and survive the restart of Jenkins or is there any other way other than script console to add those properties?
PS: I'm running Jenkins on AWS ECS container and I don't have /etc/sysconfig/jenkins or /etc/default/jenkins path to add the setting to the java args.