# Newman: “htmlextra” reporter not displaying correctly when viewed from Jenkins

**URL:** <https://community.postman.com/t/newman-htmlextra-reporter-not-displaying-correctly-when-viewed-from-jenkins/5735>\
**Category:** Help Hub\
**Created:** [June 3, 2019, 4:38pm UTC](https://community.postman.com/t/newman-htmlextra-reporter-not-displaying-correctly-when-viewed-from-jenkins/5735 "2019-06-03T16:38:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrpatton7](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mrpatton7](https://community.postman.com/u/mrpatton7)\
**Post date:** [June 3, 2019, 4:38pm UTC](https://community.postman.com/t/newman-htmlextra-reporter-not-displaying-correctly-when-viewed-from-jenkins/5735/1 "2019-06-03T16:38:22Z")

</div>

Hi,

I am using “htmlextra” to generate a nice report and when I open the html directly it displays correctly.

I have configured Jenkins to use a “Publish HTML Reports” post build action but the display is non-colored and not as nice. I can save the archive locally and open it directly but it would be nice if I could get it to display correctly from Jenkins. It is also displaying at the Job level rather than the build level which is not ideal either.

Has anyone else come across this? Am I using the correct plug-in in Jenkins or is there another plugin?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [June 3, 2019, 6:58pm UTC](https://community.postman.com/t/newman-htmlextra-reporter-not-displaying-correctly-when-viewed-from-jenkins/5735/2 "2019-06-03T18:58:33Z")

</div>

Hey @mrpatton7,

Welcome to the community 👋

Thank you for using the reporter!! 🏆

This is something that might help you out here:

[https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy](https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy)

It’s all down to the way Jenkins is set up by default - I’ve been messing about with this locally and could see the _before_ and _after_ results.

Run this in the `Script Console` to see the change.

`System.setProperty(` `"hudson.model.DirectoryBrowserSupport.CSP"` `, ` `""` `)`

This has multiple security implications so be aware of what you’re doing when unsetting headers like this one.

I was running Jenkins locally so I was in control of the whole set up.

---

<div class="post-metadata">

**Author:** ![mrpatton7](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@mrpatton7](https://community.postman.com/u/mrpatton7)\
**Post date:** [June 3, 2019, 10:31pm UTC](https://community.postman.com/t/newman-htmlextra-reporter-not-displaying-correctly-when-viewed-from-jenkins/5735/3 "2019-06-03T22:31:35Z")

</div>

Hey @danny-dainton,

It’s so exciting to get a reply from the creator of the reporter 🏆  
Thanks so much for taking the time to look into my problem and get back to me so promptly.  
I will look into this tomorrow and let you know how it goes.  
Kind regards,  
Martin

---

<div class="post-metadata">

**Author:** ![bmakamsatyaprakash](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@bmakamsatyaprakash](https://community.postman.com/u/bmakamsatyaprakash)\
**Post date:** [June 21, 2019, 12:28am UTC](https://community.postman.com/t/newman-htmlextra-reporter-not-displaying-correctly-when-viewed-from-jenkins/5735/4 "2019-06-21T00:28:15Z")

</div>

@danny-dainton,

Thanks for quick turnaround .  
I really appreciate if you could look into this and help me.

I am not very clear on the approach you have mentioned . Please let me know more specific steps on what i should be doing to get proper HTML report on Jenkins Pipeline.  
As per the link below , i tried running : System.setProperty( ‘hudson.model.DirectoryBrowserSupport.CSP’ ,’’ ) this command on console (MAC terminal) which throws error. I don’t see any console on Jenkins \> CONFIGURATION

[https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy](https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [June 21, 2019, 1:16am UTC](https://community.postman.com/t/newman-htmlextra-reporter-not-displaying-correctly-when-viewed-from-jenkins/5735/5 "2019-06-21T01:16:32Z")

</div>

For me, it was one of the options under `Manage Jenkins` section (That might not be the actual name)

You run it inside of Jenkins rather than within your Mac terminal.

I’m away at the moment so I can’t give you the actual steps that I took.

I was going to reference this - [https://jenkins.io/doc/book/managing/script-console/](https://jenkins.io/doc/book/managing/script-console/) but it seems like they haven’t updated the documentation.
