testng's emailable-report.html loses its skin when view at Jenkins after upgrading to STS 1.625.3

35 views
Skip to first unread message

Dan Tran

unread,
Jan 11, 2016, 12:58:12 AM1/11/16
to Jenkins Users

Hi

After upgrading from STS 1.609 to 1.625, my testng's emailable-report.html is fine when view as standalone Html file ( ie send the file to user). However when viewing under Jenkins, the html's content loses its skin/css

I am sure the same issue happens to any generated html content. 

Do you see the same issue?  

Thanks

-D

Mark Waite

unread,
Jan 11, 2016, 8:42:12 AM1/11/16
to Jenkins Users
I think you're seeing the content security policy change in 1.625.  Refer to https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy for more information on the policy and ways you can relax the policy as needed for your use case.

Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49196dfb-207d-4ec5-85bf-95a69a7def1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dan Tran

unread,
Jan 13, 2016, 4:44:43 PM1/13/16
to Jenkins Users
Hi Mark,

Thanks for the tip. I works for me using provided instructions

-D
Reply all
Reply to author
Forward
0 new messages