Skip to content

Commit

Permalink
Merge pull request #23 from daniel-beck/JENKINS-32281
Browse files Browse the repository at this point in the history
[FIX JENKINS-32281] Consider multiple reports per build
  • Loading branch information
mrooney committed Feb 5, 2016
2 parents 4a8d86a + 014ee38 commit 9dd6fe1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/htmlpublisher/HtmlPublisherTarget.java
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 9dd6fe1

Please sign in to comment.