Reason:
It is because of the 'Content-Security-Policy' which is introduced in Jenkins from Jenkins 1.641 / Jenkins 1.625.3, which is blocking the inline CSS. Read here for more details: https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy
Simplest solution:
Relaxing The Rules:
Either use 'java -Dhudson.model.DirectoryBrowserSupport.CSP="" -jar jenkins.war' command to start Jenkins server from the command prompt
or set this system property temporarily via the Jenkins Script Console:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox; default-src 'self';")
#jenkins #reporting #extent #tips #automationtesting #testing #seleniumautomation
Comments
Post a Comment