[原]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:
 

 

 
參考:
相關文章
相關標籤/搜索