I am using HTML publisher plugin in Jenkins, and generating opening Extent Report. By Report generated with Jenkin don't have UI. However when I open then manually they opens just fine.
To change default Content Security Policy go to Manage Jenkins -> Script Console
and add following commands:
System.clearProperty("hudson.model.DirectoryBrowserSupport.CSP");
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "sandbox allow-scripts; default-src 'self'; script-src * 'unsafe-eval'; img-src *; style-src * 'unsafe-inline'; font-src *");
Run the Build and View the report.