Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-26739] Suppress monotonicity assertion for MatrixRun.
  • Loading branch information
jglick committed Mar 2, 2015
1 parent 8d9329e commit 5ada903
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/java/hudson/model/RunMap.java
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5ada903

Please sign in to comment.