Issue: "Opening Robot Framework log failed"
- 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.
Explanation: Due to Content Security Policy (https://content-security-policy.com/).
Solution: Change the CSP from Jenkins through script.
- Go to https://<jenkins_ip>/script
- Type this: System.setProperty("hudson.model.DirectoryBrowserSupport.CSP","sandbox allow-same-origin; allow-scripts; default-src 'none'; img-src 'self' data: ; style-src 'self' 'unsafe-inline' data: ; script-src 'self' 'unsafe-inline' 'unsafe-eval' ;")
- Re-login jenkins.
But if you restart jenkins, you need to do this again. To reset the CSP, by doing this: System.clearProperty("hudson.model.DirectoryBrowserSupport.CSP")
This solution works.