mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
[FIXED JENKINS-26519] Accept Windows text file quasi-symlinks for build numbers.
This commit is contained in:
1 parent
876d492bd1
commit
056b446480
3 files changed
+19
-2
No files matched your search
@@ -199,7 +199,9 @@ public final class RunIdMigrator {
|
||||
String name = kid.getName();
|
||||
try {
|
||||
String link = Util.resolveSymlink(kid);
|
||||
if (link == null) {
|
||||
if (link == null && name.matches("\\d+") && kid.isFile()) { // legacy Windows format
|
||||
link = FileUtils.readFileToString(kid);
|
||||
} else if (link == null) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user