Issue
You noticed that the symbolic links:
-
lastFailedBuild
-
lastStableBuild
-
lastSuccessfulBuild
-
lastUnstableBuild
-
lastUnsuccessfulBuild
were broken since you have upgraded your Jenkins instance to 2.190.x or newer.
Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
-
CloudBees Jenkins Enterprise - Managed controller
-
CloudBees Jenkins Enterprise - Operations center
Explanation
There were large number of bugs and limitations with use of symbolic links for build directories, especially on platforms like Windows. Additionally, this functionality was not widely used.
Starting from Jenkins LTS 2.190.1 Jenkins no longer creates symbolic links inside project or build directories.
Solution
The Build Symlink plugin may be installed to restore this functionality if desired. URLs such as /job/.../lastStableBuild/
are not affected, only tools which directly access the $JENKINS_HOME
filesystem.