-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: htmlpublisher-plugin
-
None
When usingÂ
publishHTML with allowMissing: false and directory is not found, publisher sets the build status to FAILURE, but does not fail the build.
Â
Seems issue is in src/main/java/htmlpublisher/HtmlPublisher.java
Â
where the following returns true and not false.
Â
if (!archiveDir.exists()) {
  listener.error("Specified HTML directory '" + archiveDir + "' does not exist.");
  if (!allowMissing)
}
Â