Jenkins: Opening Robot Framework log failed

After switching Jenkins from 1.6 to 2.something, I could no longer open the Robot Framework logs files.   The error I had was:

• 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.

This looks like a bug in Jenkins.  After checking this and this I managed to come up with this solution:

Edit the file /etc/sysconfig/jenkins

Update the property JENKINS_JAVA_OPTIONS:

JENKINS_JAVA_OPTIONS="-Dhudson.model.DirectoryBrowserSupport.CSP= "

restart Jenkins:

service jenkins restart
This entry was posted in linux, robot framework, testing. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s