Don't report that the build has been fixed on initial commit

This commit is contained in:
Stephen Ball 2015-10-12 17:42:59 +01:00
parent e9e80c5179
commit f1ca029482

View file

@ -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');
}