[FIXED JENKINS-26739] Suppress monotonicity assertion for MatrixRun.

This commit is contained in:
Jesse Glick committed 2015-03-02 18:11:34 -05:00
1 parent 8d9329e57c
commit 5ada903554
1 file changed
+3 -1
+3 -1
View File
@@ -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);
}