Html files are archived to the below location by Jenkins after the build

      C:\Program Files (x86)\Jenkins\jobs\MyLocalSlaveJob\builds\28\htmlreports\HTML_Report\

      But when I navigate to the url (provided for HTML Report) it tries to fetch the html files from below location and throws exception 404 as NOT FOUND.

      http://pd3020-157b102:8080/job/MyLocalSlaveJob/28/HTML_Report/index.html

          [JENKINS-22191] Not able to see HTML Publish Reports

          Mahesh Uparate created issue -

          Actually the issue is that if the links are to folders not files, then Jetty will refuse to load them in this context.

          Schalk Cronjé added a comment - Actually the issue is that if the links are to folders not files, then Jetty will refuse to load them in this context.

          mcrooney added a comment -

          Thanks Schalk, if that is the case then that behavior is expected. You'll just need to specify one or more HTML files in the Index page[s] section.

          mcrooney added a comment - Thanks Schalk, if that is the case then that behavior is expected. You'll just need to specify one or more HTML files in the Index page [s] section.
          mcrooney made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          mcrooney made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          mcrooney made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          mcrooney made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]

          I would just suggest adding a note about this to the wiki page.

          Schalk Cronjé added a comment - I would just suggest adding a note about this to the wiki page.

          Adele Zhou added a comment -

          HTML reports not showing up since the morning of 10/22. When I zip it, I see my reports.
          I noticed this line is missing in htmlpublisher-wrapper.html:
          <li id="tab1" class="unselected" onclick="updateBody('tab1');" value="index.html">index</li>

          Adele Zhou added a comment - HTML reports not showing up since the morning of 10/22. When I zip it, I see my reports. I noticed this line is missing in htmlpublisher-wrapper.html: <li id="tab1" class="unselected" onclick="updateBody('tab1');" value="index.html">index</li>

          Adele Zhou added a comment -

          My problem is solved after I upgraded Jenkins.

          Adele Zhou added a comment - My problem is solved after I upgraded Jenkins.

            mcrooney mcrooney
            mahesh_uparate Mahesh Uparate
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: