-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
Jenkins 2.229
public static void createSymlink(@Nonnull File baseDir, @Nonnull String targetPath, @Nonnull String symlinkPath, @Nonnull TaskListener listener) throws InterruptedException {
Files.deleteIfExists(path);
Files.createSymbolicLink(path, target);
Called from:
jenkins.model.PeepholePermalink.updateCache
// (re)create the build Number->Id symlink
Util.createSymlink(job.getBuildDir(),b.getId(),target,TaskListener.NULL);
Related to:
hudson.model.PermalinkProjectAction.Permalink
- links to
[JENKINS-56643] hudson.Util.createSymlink is not atomic which means lastSuccessfulBuild updates are not atomic
Remote Link | New: This issue links to "PR-3941 (Web Link)" [ 22514 ] |
Released As | New: Jenkins 2.229 | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |