Skip to content
Permalink
Browse files
[FIXED JENKINS-15586] Using a more inclusive include pattern for files
saved in the master node.
  • Loading branch information
kinow committed Oct 20, 2012
1 parent 448d49e commit a9c216785d40df6ec904457b1ccbc977ee859755
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/tap4j/plugin/TapPublisher.java
@@ -224,7 +224,7 @@ private TapResult loadResults(AbstractBuild<?, ?> owner,
FilePath tapDir = getTapReportDirectory(owner);
FilePath[] results = null;
try {
results = tapDir.list("*.tap");
results = tapDir.list("**/*.*");
} catch (Exception e) {
e.printStackTrace(logger);
}
@@ -273,7 +273,7 @@ private boolean saveReports(FilePath tapDir, FilePath[] reports,
* @return
*/
private FilePath getTapReportDirectory(AbstractBuild<?, ?> build) {
return new FilePath(new File(build.getRootDir(), "tap"));
return new FilePath(new File(build.getRootDir(), "tap-master-files"));
}

/**

0 comments on commit a9c2167

Please sign in to comment.