[JIRA] (JENKINS-60953) Publish HTML report in Jenkins Pipeline Build

18 views
Skip to first unread message

Chandrakumar1989@hotmail.com (JIRA)

unread,
Feb 3, 2020, 12:14:04 PM2/3/20
to jenkinsc...@googlegroups.com
Chandrakumar Sekar created an issue
 
Jenkins / Bug JENKINS-60953
Publish HTML report in Jenkins Pipeline Build
Issue Type: Bug Bug
Assignee: Richard Bywater
Attachments: image-2020-02-03-17-11-43-867.png
Components: core, htmlpublisher-plugin
Created: 2020-02-03 17:13
Environment: Jenkins 2.190, JDK 1.8, HTML publisher 1.21
Priority: Major Major
Reporter: Chandrakumar Sekar

Hello Team, 

 

I am facing an issue while publishing a HTML Report as part of my pipeline created. I am trying to publish a HTML report and once the report is published in Jenkins Job and respective build, the HTML report im trying to publish is being generated by Silk Performance Explorer and once it is generated im publishing it to the Jenkins using the Publish HMTL Report plugin, but once the pipeline is completed, the report is opening as blank, though the targeted main HTML page and its dependent objects are packed in the jobs folder of the jenkins in C drive. pls refer the attached view of the published report in jenkins build instance (Appears as white blank page).

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

Chandrakumar1989@hotmail.com (JIRA)

unread,
Feb 3, 2020, 12:15:02 PM2/3/20
to jenkinsc...@googlegroups.com
Chandrakumar Sekar updated an issue
Change By: Chandrakumar Sekar
Hello Team, 

 

I am facing an issue while publishing a HTML Report as part of my pipeline created. I am trying to publish a HTML report and once the report is published in Jenkins Job and respective build, the HTML report im trying to publish is being generated by Silk Performance Explorer and once it is generated im publishing it to the Jenkins using the Publish HMTL Report plugin, but once the pipeline is completed, the report is opening as blank, though the targeted main HTML page and its dependent objects are packed in the jobs folder of the jenkins in C drive. pls refer the attached view of the published report in jenkins build instance (Appears as white blank page).

 

Could you please advise me on this issue?

 

!image-2020-02-03-17-11-43-867.png!

richard@bywater.nz (JIRA)

unread,
Feb 4, 2020, 9:41:04 PM2/4/20
to jenkinsc...@googlegroups.com
Richard Bywater commented on Bug JENKINS-60953
 
Re: Publish HTML report in Jenkins Pipeline Build

The most likely cause of this is incorrectly configured Content Security Policy. See https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy for more information.

Chandrakumar1989@hotmail.com (JIRA)

unread,
Feb 4, 2020, 9:46:03 PM2/4/20
to jenkinsc...@googlegroups.com

Hi Richard,

Thanks for an update. Let me check and get back.

Chandrakumar1989@hotmail.com (JIRA)

unread,
Feb 6, 2020, 2:28:02 AM2/6/20
to jenkinsc...@googlegroups.com

Hi Richard, 

 

Without changing the content security policy, we are able to get the required HTML report published into the Jenkins build. we made the changes in the input folder directory post which it is displaying the reports instead of blank page. 

Chandrakumar1989@hotmail.com (JIRA)

unread,
Feb 6, 2020, 2:28:02 AM2/6/20
to jenkinsc...@googlegroups.com

richard@bywater.nz (JIRA)

unread,
Feb 6, 2020, 11:46:02 PM2/6/20
to jenkinsc...@googlegroups.com
Richard Bywater closed an issue as Not A Defect
 
Change By: Richard Bywater
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages