Skip to content

Commit

Permalink
[JENKINS-18678] [JENKINS-18028] Confirming (as suggested in #1069 by @…
Browse files Browse the repository at this point in the history
…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 554be78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/src/test/groovy/hudson/model/AbstractProjectTest.groovy
Expand Up @@ -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)
Expand Down

0 comments on commit 554be78

Please sign in to comment.