Skip to content

Commit

Permalink
Fix JENKINS-17345
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed Mar 25, 2013
1 parent 36b488d commit 6310527
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -288,7 +288,10 @@ private TestResult getTestResult(final AbstractBuild<?, ?> build,

public TestResult invoke(File ws, VirtualChannel channel) throws IOException {
final long nowSlave = System.currentTimeMillis();
FileSet fs = Util.createFileSet(new File(ws, GENERATED_JUNIT_DIR), junitFilePattern);
File generatedJunitDir = new File(ws, GENERATED_JUNIT_DIR);
//Try to create the file if it was deleted or something was wrong
generatedJunitDir.mkdirs();
FileSet fs = Util.createFileSet(generatedJunitDir, junitFilePattern);
DirectoryScanner ds = fs.getDirectoryScanner();
String[] files = ds.getIncludedFiles();

Expand Down

0 comments on commit 6310527

Please sign in to comment.