mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
[FIXED JENKINS-26739] Suppress monotonicity assertion for MatrixRun.
This commit is contained in:
1 parent
8d9329e57c
commit
5ada903554
1 file changed
+3
-1
@@ -186,7 +186,9 @@ public final class RunMap<R extends Run<?,R>> extends AbstractLazyLoadRunMap<R>
|
||||
if (rootDir.isDirectory()) {
|
||||
throw new IllegalStateException(rootDir + " already existed; will not overwite with " + r);
|
||||
}
|
||||
proposeNewNumber(r.getNumber());
|
||||
if (!r.getClass().getName().equals("hudson.matrix.MatrixRun")) { // JENKINS-26739: grandfathered in
|
||||
proposeNewNumber(r.getNumber());
|
||||
}
|
||||
rootDir.mkdirs();
|
||||
return super._put(r);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user