Skip to content
Permalink
Browse files
[JENKINS-18678] Reproduced problem in test.
  • Loading branch information
jglick committed Dec 23, 2013
1 parent 7b83852 commit 1943801ba725bff83e1afaea5f4c7670754c5c61
Showing 1 changed file with 10 additions and 0 deletions.
@@ -375,6 +375,16 @@ public class AbstractProjectTest extends HudsonTestCase {
assert !b.rootDir.isDirectory();
}

@Bug(18678)
public void testRenameJobLostBuilds() throws Exception {
def p = createFreeStyleProject("initial");
assertBuildStatusSuccess(p.scheduleBuild2(0));
assertEquals(1, p.getBuilds().size());
p.renameTo("edited");
p._getRuns().purgeCache();
assertEquals(1, p.getBuilds().size());
}

@Bug(17575)
public void testDeleteRedirect() {
createFreeStyleProject("j1");

0 comments on commit 1943801

Please sign in to comment.