I\'m confused about Jenkins Content Security Policy.
I know these sites:
Just to be clear about setting this CSP property permanently on Jenkins.
If you are running Jenkins on Ubuntu:
$ vim /etc/default/jenkinsJAVA_ARGS and add the CSP policy like this: JAVA_ARGS="-Djava.awt.headless=true -Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src data:;\""If you are running Jenkins on CentOS:
$ vim /etc/sysconfig/jenkinsJENKINS_JAVA_OPTIONS and add the CSP policy like this: JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src data:;\""Save the file and restart Jenkins.
$ sudo service jenkins restart or in your browser http://localhost:8080/safeRestart