[JENKINS-26739] Merging #1592.

This commit is contained in:
Jesse Glick committed 2015-03-02 20:16:35 -05:00
commit cf2b02dc58
2 files changed
+6 -1

No files matched your search

+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);
}