Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20737

Attached files appear in list, but throw a "404 Not Found" when attempting to view them




      Jenkins: v1.540
      JUnit-Attachments: v1.3

      The files are displayed correctly, and are available on the server (I can copy them to another machine and view them). However, when clicking on the file, the light box displays the following error:

      This image failed to load.

      If I attempt to open the image in a new tab/window, I get a "404 Not Found" exception.

      I've checked the permissions throughout the Jenkins install and everything seems to be in order (however, this an instance that doesn't use any kind of authentication; everyone is the anonymous user with full permissions).

      Clicking the "attachments" link to the left yields even more interesting results:

      http://junit/<namespace>/<test class name>/attachments

      It appears that the link is rather incomplete, and doesn't reference the actual Jenkins instance I'm using.

      If I've missed anything, or you need additional information, please let me know!


        Issue Links


            dfhinton Daniel Hinton created issue -
            jrogers Jonathan Rogers made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-19430 [ JENKINS-19430 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 152546 ] JNJira + In-Review [ 178248 ]
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-37026 [ JENKINS-37026 ]
            jglick Jesse Glick made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]


              huybrechts huybrechts
              dfhinton Daniel Hinton
              4 Vote for this issue
              5 Start watching this issue