Skip to content
Permalink
Browse files
[FIXED JENKINS-26739] Suppress monotonicity assertion for MatrixRun.
  • Loading branch information
jglick committed Mar 2, 2015
1 parent 8d9329e commit 5ada903554a493fcfbc8e23c5c8d02bc50c17845
Showing with 3 additions and 1 deletion.
  1. +3 −1 core/src/main/java/hudson/model/RunMap.java
@@ -186,7 +186,9 @@ public R put(R 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);
}

0 comments on commit 5ada903

Please sign in to comment.