diff --git a/src/applications/harbormaster/engine/HarbormasterBuildEngine.php b/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
index 4cece6a69d..893f8fc546 100644
--- a/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
+++ b/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
@@ -446,11 +446,14 @@ final class HarbormasterBuildEngine extends Phobject {
       if ($build->getBuildStatus() != HarbormasterBuildStatus::STATUS_PASSED) {
         $all_pass = false;
       }
-      $any_fail = in_array($build->getBuildStatus(), array(
+      if (in_array($build->getBuildStatus(), array(
           HarbormasterBuildStatus::STATUS_FAILED,
           HarbormasterBuildStatus::STATUS_ERROR,
           HarbormasterBuildStatus::STATUS_DEADLOCKED,
-        ));
+        ))) {
+
+        $any_fail = true;
+      }
     }
 
     if ($any_fail) {