Skip to content
Permalink
Browse files
JENKINS-16573 Getting testing result from non default junit mojo fail…
…ed build.

Originally-Committed-As: c846f7cf40a9101a1a6bc04bbb5ff09316f533dd
  • Loading branch information
vkravets committed Jan 31, 2013
1 parent d303504 commit 94fb9bb91e264f6ffdec72eb8c6e4a8a4dca8f4c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/maven/reporters/TestMojo.java
@@ -101,7 +101,7 @@ public boolean canRunTests(MojoInfo mojo) {
public Iterable<File> getReportFiles(MavenProject pom, MojoInfo mojo) throws ComponentConfigurationException {
if (this.reportDirectoryConfigKey != null) {
File reportsDir = mojo.getConfigurationValue(this.reportDirectoryConfigKey, File.class);
if (reportsDir.exists()) {
if (reportsDir != null && reportsDir.exists()) {
return getReportFiles(reportsDir, getFileSet(reportsDir));
}

0 comments on commit 94fb9bb

Please sign in to comment.