Jenkins 2.190 no longer creates symbolic links inside project or build directories

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

Related Issues

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.

References

Have more questions?

0 Comments

Please sign in to leave a comment.