Skip to content
Permalink
Browse files

[JENKINS-18678] [JENKINS-18028] Confirming (as suggested in #1069 by @…

…oleg-nenashev) that build history is retained after a move into a folder.
  • Loading branch information
jglick committed Jan 8, 2014
1 parent e265935 commit 554be78b9b79eb662d8426f0ace2115a509f7406
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/src/test/groovy/hudson/model/AbstractProjectTest.groovy
@@ -383,6 +383,11 @@ public class AbstractProjectTest extends HudsonTestCase {
p.renameTo("edited");
p._getRuns().purgeCache();
assertEquals(1, p.getBuilds().size());
def d = jenkins.createProject(MockFolder.class, "d");
Items.move(p, d);
assertEquals(p, jenkins.getItemByFullName("d/edited"));
p._getRuns().purgeCache();
assertEquals(1, p.getBuilds().size());
}

@Bug(17575)

0 comments on commit 554be78

Please sign in to comment.
You can’t perform that action at this time.