Browse Source

fix: DeployCommand does not fail when no one "Post-Deployment Tasks" failed and failed "Deployment Task" exist

1.0
Dmitry Motylev 10 years ago
parent
commit
3b70a8a3c1
  1. 6
      Mage/Command/BuiltIn/DeployCommand.php

6
Mage/Command/BuiltIn/DeployCommand.php

@ -202,7 +202,11 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
if (self::$failedTasks === 0) {
$exitCode = 0;
}
if (self::$deployStatus === self::FAILED) {
$exitCode = 1;
}
return $exitCode;
}

Loading…
Cancel
Save