Skip to content
Browse files

Fix JENKINS-17345

  • Loading branch information...
gboissinot committed Mar 25, 2013
1 parent 36b488d commit 6310527830b1c2495339cbd2ec459c14e80b5daf
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/main/java/org/jenkinsci/plugins/xunit/
@@ -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
FileSet fs = Util.createFileSet(generatedJunitDir, junitFilePattern);
DirectoryScanner ds = fs.getDirectoryScanner();
String[] files = ds.getIncludedFiles();

0 comments on commit 6310527

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