Skip to content
Permalink
Browse files

Merge pull request #23 from daniel-beck/JENKINS-32281

[FIX JENKINS-32281] Consider multiple reports per build
  • Loading branch information...
mrooney committed Feb 5, 2016
2 parents 4a8d86a + 014ee38 commit 9dd6fe1ea02d48ea411125b54369752f5be4f494
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/main/java/htmlpublisher/HtmlPublisherTarget.java
@@ -218,7 +218,11 @@ protected File dir() {
File javadocDir = getBuildArchiveDir(run);

if (javadocDir.exists()) {
actualBuildAction = run.getAction(HTMLBuildAction.class);
for (HTMLBuildAction a : run.getActions(HTMLBuildAction.class)) {
if (a.getHTMLTarget().getReportName().equals(getHTMLTarget().getReportName())) {
actualBuildAction = a;
}
}
return javadocDir;
}
}

0 comments on commit 9dd6fe1

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