Skip to content
Permalink
Browse files
JENKINS-7798 broken build fix. Update RunTest to match new Artifact c…
…onstructor
  • Loading branch information
lacostej committed Sep 15, 2011
1 parent 3b00a37 commit 4add1da582193a2fe1a22bd93df175eb37738b5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/test/java/hudson/model/RunTest.java
@@ -36,7 +36,7 @@
Run<FreeStyleProject,FreeStyleBuild> r = new Run<FreeStyleProject,FreeStyleBuild>(null,new GregorianCalendar()) {};
Run<FreeStyleProject,FreeStyleBuild>.ArtifactList list = r.new ArtifactList();
for (String p : paths) {
list.add(r.new Artifact(p,p,p,"n"+list.size())); // Assuming all test inputs don't need urlencoding
list.add(r.new Artifact(p,p,p,String.valueOf(p.length()),"n"+list.size())); // Assuming all test inputs don't need urlencoding
}
list.computeDisplayName();
return list;

0 comments on commit 4add1da

Please sign in to comment.