打赏
Fork me on GitHub

[原]Jenkins(二十) jenkins再出发之Error: Opening Robot Framework log failed

错误缘由:使用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:
 

 

 
参考:
posted @ 2018-04-11 10:38  my_cool2007  阅读(572)  评论(0编辑  收藏  举报