Gatling Jeknins plugin stopped reneding charts in reports

Gatling Jenkins plugin stopped to render charts in reports. I guess charts are generated by JavaScript so the problems seems to stem form the the error I found in Chrome Web browser:

Blocked script execution in ‘http://myjenkins:7080/job/run-authn-per…get/gatling/results/generatetokenoncevalidatemany-1453691533709/index.html’ because the document’s frame is sandboxed and the ‘allow-scripts’ permission is not set.

I will continue to analyze the root cause and possible fixes, but any suggestions are welcome.

Things don’t just suddenly break out of the blue.
Here, what you don’t mention is that you upgraded Jenkins.
See https://github.com/gatling/gatling/issues/2889

Thanks for the prompt response.

To be precise, setting the following environment property helped as a workaround:

-Dhudson.model.DirectoryBrowserSupport.CSP=“sandbox allow-scripts; style-src ‘unsafe-inline’ *;script-src ‘unsafe-inline’ *;”

Regards,
Maciej

W dniu poniedziałek, 25 stycznia 2016 10:55:08 UTC+1 użytkownik Stéphane Landelle napisał: