2017-07-19 3 views
0

こんにちは私はジェンキンスを使用しています。私はジェンキンスを実行した後、自動化の最後にレポートを生成しています。現在のログレポートが、私は、現在の設定がどうあるべきか私はジェンキンスで他のレポートで使用するように私はラインpublish html plugin:次のコンテンツセキュリティポリシーの指示に違反しています

-Xrs -Xmx1048m -XX:MaxPermSize=512m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle "-Dhudson.model.DirectoryBrowserSupport.CSP= img-src 'self'; style-src 'self' 'unsafe-inline' ;script-src 'self' 'unsafe-inline' 'allow-scripts' " -jar "%BASE%\jenkins.war" --httpPort=2020 --webroot="%BASE%\war"--accessLoggerClassName=winstone.accesslog.SimpleAccessLogger --simpleAccessLogger.format=combined --simpleAccessLogger.file="%BASE%/logs/access.log"

でjenkins.xmlファイルを変更する必要があるいくつかのエラー

ExtentScreenshot.html:1 The source list for Content Security Policy directive 'script-src' contains an invalid source: ''allow-scripts''. It will be ignored. ExtentScreenshot.html:22 Refused to load the stylesheet ' https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600 ' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' ".

ExtentScreenshot.html:23 Refused to load the stylesheet ' https://cdn.rawgit.com/anshooarora/extentreports/45123d736a03aca0abc5c4fcf1e746fef49736fd/cdn/extent.css ' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' ".

ExtentScreenshot.html:1 Refused to load the script ' https://cdn.rawgit.com/anshooarora/extentreports/6032d73243ba4fe4fb8769eb9c315d4fdf16fe68/cdn/extent.js ' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'allow-scripts'".

ExtentScreenshot.html:695 Uncaught ReferenceError: $ is not defined at ExtentScreenshot.html:695 ExtentScreenshot.html:699 Uncaught ReferenceError: $ is not defined at ExtentScreenshot.html:699 ExtentScreenshot.html:1 Refused to load the stylesheet ' https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600 ' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' ".

ExtentScreenshot.html:1 Refused to load the stylesheet ' https://cdn.rawgit.com/anshooarora/extentreports/45123d736a03aca0abc5c4fcf1e746fef49736fd/cdn/extent.css ' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' ".

を得ました私の見解を報告するためにジーンズで?

答えて

関連する問題