HTML is not displayed properly in the report.
CSS is stripped out due to Content Security Policy.
Go to the following:
- Manage Jenkins
- Manage Nodes
- Script Console
The above fix will be gone after a Jenkins restart. To make the fix permanent, add the following to JAVA_ARGS under /etc/default/jenkins: