-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.46.2
openjdk 1.8.0
ubnutu 16.04 lts
-
-
2.198
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?
- relates to
-
JENKINS-26270 Add "Last Completed Build" to the built-in permalink list
-
- Resolved
-
-
JENKINS-37862 Extract build symlink handling to a plugin
-
- Resolved
-
- links to
Not sure offhand, but note that as of
JENKINS-37862in new versions of Jenkins, symlinks are not created at all. If you have some need for them, you need to install the Build Symlink plugin. If you have any issues with that, file them in that component (though I would consider it a very low priority).