最新的jenkins打开jenkins robot framework报告会提示如下
Verify that you have JavaScript enabled in your browser.
Make sure you are using a modern enough browser. Firefox 3.5, IE 8, or equivalent is required, newer browsers are recommended. Check are there messages in your browser's JavaScript error log. Please report the problem if you suspect you have encountered a bug.
解决方案:
一. 如果你的Jenkins安装为windows服务,也就是下载的是.msi版本,如下解决
1. 修改jenkins.xml如下
-Xrs -Xmx256m -Dhudson.model.DirectoryBrowserSupport.CSP= -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080
2. 重启jenkins
二.Jenkins 为war包通过java命令运行,如下解决
1. 关闭jenkins
2. 通过如下命令运行Jenkins
java -Dhudson.model.DirectoryBrowserSupport.CSP= -jar E:\Jenkins\jenkins.war