Add deploy stage
This commit is contained in:
parent
075be27691
commit
788aeb161a
2 changed files with 4 additions and 1 deletions
|
|
@ -154,6 +154,9 @@ class Executor
|
|||
// If we're in the "setup" stage, execution should not continue after
|
||||
// a plugin has failed:
|
||||
throw new Exception('Plugin failed: ' . $plugin);
|
||||
} elseif ($stage === 'deploy') {
|
||||
$this->logger->logFailure('PLUGIN: FAILED');
|
||||
$success = false;
|
||||
} else {
|
||||
// If we're in the "test" stage and the plugin is not allowed to fail,
|
||||
// then mark the build as failed:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue