Open ascheman opened 8 years ago
@ascheman - in order to server jgiven reports, the content security policy of jenkins needs to be updated to allow download and execution of JavaScript.
The file /etc/default/jenkins
needs to contain the following options for hudson.model.DirectoryBrowserSupport.CSP
.
JAVA_ARGS="-Dhudson.model.DirectoryBrowserSupport.CSP=\"default-src 'self'; style-src 'self' 'unsafe-inline';\" -Djava.awt.headless=true"
How would I patch such a configuration file using puppet? Or would I choose the complete file to be part of the configuration? Did you manually change anything in this file?
From @sippsack on December 22, 2015 17:28
jenkins has jgiven plugin: https://github.com/jenkinsci/jgiven-plugin
Copied from original issue: dukecon/dukecon#23