Permalink
Browse files

[FIX JENKINS-32281] Consider multiple reports per build

  • Loading branch information...
daniel-beck committed Feb 3, 2016
1 parent 4a8d86a commit 014ee3838bc5a617e2cf6474423099c34e947abe
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 014ee38

Please sign in to comment.