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

No lastCompletedBuild symlink

    XMLWordPrintable

Details

    • 2.198

    Description

      I maintain few jenkinses, various versions (2.x). Some of jobs on them publish artifacts even when build result is failure. Using jenkins UI I can access artifacts via http url

      JENKINS_URL/job/jobname/lastCompletedBuild/artifact/file.ext

      But I need to access this artifact directly from filesystem where artifacts are stored, in my case it is custom path:

      /mnt/jenkins/builds/jobname/lastCompletedBuild/archive/file.ext

      On disk, lastCompletedBuild symlink is not created. I still can access the file, but I have to know build number. The same is for lastBuild. To sum up: it works for lastCompletedBuild, lastUnstableBuild, lastFailedBuild, lastUnsuccessfulBuild. All shorthand urls from job page have their respective symlinks created, except lastCompletedBuild.

      Is it intentional?

      Attachments

        Issue Links

          Activity

            People

              jglick Jesse Glick
              daniel_jeznach_img Daniel Jeznach
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: