mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
JENKINS-16573 Getting testing result from non default junit mojo failed build.
This commit is contained in:
1 parent
a9c0080ebd
commit
c846f7cf40
1 file changed
+1
-1
@@ -101,7 +101,7 @@ enum TestMojo {
|
||||
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user