错误缘由:使用plugin [public robot framework test results] 生成的HTML文件都无法正常打开.
解决方案:
- Connect on your jenkins url (http://[IP]:8080/)
- Click on administer Jenkins
- Click on consol jenkins
- Copy this into the field and execute :
input the code below:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP","sandbox allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;")
Success view html file:
参考: