Skip to content

Commit

Permalink
JENKINS-16573 Getting testing result from non default junit mojo fail…
Browse files Browse the repository at this point in the history
…ed build.

Originally-Committed-As: c846f7cf40a9101a1a6bc04bbb5ff09316f533dd
  • Loading branch information
vkravets committed Jan 31, 2013
1 parent d303504 commit 94fb9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/maven/reporters/TestMojo.java
Expand Up @@ -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));
}

Expand Down

0 comments on commit 94fb9bb

Please sign in to comment.