From f1ca029482d6d8784c757ceda0074f8ad30ab80e Mon Sep 17 00:00:00 2001 From: Stephen Ball Date: Mon, 12 Oct 2015 17:42:59 +0100 Subject: [PATCH] Don't report that the build has been fixed on initial commit --- PHPCI/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Builder.php b/PHPCI/Builder.php index 001dcba5..476d1b15 100644 --- a/PHPCI/Builder.php +++ b/PHPCI/Builder.php @@ -218,7 +218,7 @@ class Builder implements LoggerAwareInterface if ($success) { $this->pluginExecutor->executePlugins($this->config, 'success'); - if ($previous_state == Build::STATUS_FAILED || $previous_status == Build::STATUS_NEW) { + if ($previous_state == Build::STATUS_FAILED) { $this->pluginExecutor->executePlugins($this->config, 'fixed'); }