[JIRA] (JENKINS-58324) HTML report do not show from Jenkins page (html error 404 on page js file)

11 views
Skip to first unread message

ante.kevric@unicreditgroup.zaba.hr (JIRA)

unread,
Jul 3, 2019, 10:25:02 AM7/3/19
to jenkinsc...@googlegroups.com
Ante Kevrić updated an issue
 
Jenkins / Bug JENKINS-58324
HTML report do not show from Jenkins page (html error 404 on page js file)
Change By: Ante Kevrić
Summary: HTML report do not show from Jenkins page (html error 404 on page js filese file )
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

richard@bywater.nz (JIRA)

unread,
Jul 4, 2019, 4:40:02 AM7/4/19
to jenkinsc...@googlegroups.com
Richard Bywater commented on Bug JENKINS-58324
 
Re: HTML report do not show from Jenkins page (html error 404 on page js file)

Hi Ante Kevrić - are you able to confirm what the "file structure" image is supposed to be showing (i.e. the contents of the ZIP file or the build directory on the Jenkins server as the files showing as 404 in the browser console view don't appear in the "file structure" image. Also sharing your config would be useful for replication purposes. Thanks

ante.kevric@unicreditgroup.zaba.hr (JIRA)

unread,
Jul 4, 2019, 6:38:02 AM7/4/19
to jenkinsc...@googlegroups.com

ante.kevric@unicreditgroup.zaba.hr (JIRA)

unread,
Jul 4, 2019, 6:42:01 AM7/4/19
to jenkinsc...@googlegroups.com
Ante Kevrić commented on Bug JENKINS-58324
 
Re: HTML report do not show from Jenkins page (html error 404 on page js file)

Hi Richard Bywater - That structure is from downloaded ZIP.

I added here zip file "Jenkins issue.zip" so you can see configuration, console output, and report.

thx,

A.

richard@bywater.nz (JIRA)

unread,
Jul 5, 2019, 2:34:02 AM7/5/19
to jenkinsc...@googlegroups.com

Thanks - just taking a look at the attached console log it appears that the HTML directory in the config was set to "D:\jenkins_prod\workspace\test_9111\Schedules\test95_2_vise_usera\test95_2_vise_usera.stats.html" which looks more like a filename than a directory where the files are getting put. Is that just a case of the wrong config being attached to the issue? (Don't know much about RPT but by the looks of the console logs probably should be set to "D:\jenkins_prod\workspace\test_9111\Schedules\test95_2_vise_usera\"  and perhaps Index Page set to "test95_2_vise_usera.stats.html"?

ante.kevric@unicreditgroup.zaba.hr (JIRA)

unread,
Jul 9, 2019, 6:12:02 AM7/9/19
to jenkinsc...@googlegroups.com

"D:\jenkins_prod\workspace\test_9111\Schedules\test95_2_vise_usera\test95_2_vise_usera.stats.html" is valid folder. In it are all files (see .zip).

richard@bywater.nz (JIRA)

unread,
Jul 18, 2019, 11:15:03 PM7/18/19
to jenkinsc...@googlegroups.com

Hi Ante Kevrić - sorry for the delay but I think I have found the issue is not with the HTML Publisher plugin but with the Javascript that is included with the RPT output.

Basically it looks like when the page loads, it looks to see if the page is being served up using the file:// type protocol (which it would be when looking at locally from the zip) or if "force offline" is enabled (I have no idea how that gets set as it seems to the a RPT Javascript thing). If one of these conditions is true, it goes into some kind of offline mode and works with no issues.

If those conditions aren't met however, it attempts to fetch stuff from "/analytics" and when that fails it appears to stop processing and just give you a blank screen. Obviously it will never be able to get the "/analytics" endpoint on Jenkins.

Only thing I can think of is to find out, if you don't know already, how to force the offline mode to be set and then it will work perfectly. (I tested by taking the ZIP file contents and publishing that to HTML Publisher, and then manually debugging the Javascript and forcing offline and it showed with no issues within Jenkins).

Going to close this issue for now but please feel free to comment if new information comes to hand.

richard@bywater.nz (JIRA)

unread,
Jul 18, 2019, 11:15:03 PM7/18/19
to jenkinsc...@googlegroups.com
Richard Bywater resolved as Not A Defect
 
Change By: Richard Bywater
Status: Open Resolved
Resolution: Not A Defect

ante.kevric@unicreditgroup.zaba.hr (JIRA)

unread,
Jul 19, 2019, 3:53:02 AM7/19/19
to jenkinsc...@googlegroups.com
Ante Kevrić commented on Bug JENKINS-58324
 
Re: HTML report do not show from Jenkins page (html error 404 on page js file)

Thank you, Richard Bywater

I don't know how to force the offline mode, if you can please write here how you set up that forcing offline mode.

br, and again thank you  for your help,

A:

 

ante.kevric@unicreditgroup.zaba.hr (JIRA)

unread,
Aug 13, 2019, 8:45:03 AM8/13/19
to jenkinsc...@googlegroups.com

ante.kevric@unicreditgroup.zaba.hr (JIRA)

unread,
Aug 13, 2019, 8:48:05 AM8/13/19
to jenkinsc...@googlegroups.com
 
Re: HTML report do not show from Jenkins page (html error 404 on page js file)

Update to this thread and Richard Bywater . 

IBM has provided solution patch: TP_57096_HotFix_1.0.0

Thank you, and best regards,

Ante.

 

 

 

 

richard@bywater.nz (JIRA)

unread,
Sep 13, 2019, 2:35:01 AM9/13/19
to jenkinsc...@googlegroups.com
Richard Bywater closed an issue as Not A Defect
 
Change By: Richard Bywater
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages