|
|
@ -55,6 +55,8 @@ class RollbackTask extends AbstractTask implements IsReleaseAware |
|
|
|
$result = $this->runCommandRemote('ls -1 ' . $releasesDirectory, $output); |
|
|
|
$result = $this->runCommandRemote('ls -1 ' . $releasesDirectory, $output); |
|
|
|
$releases = ($output == '') ? array() : explode(PHP_EOL, $output); |
|
|
|
$releases = ($output == '') ? array() : explode(PHP_EOL, $output); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$inDeploy = $this->getParameter('inDeploy',false); |
|
|
|
|
|
|
|
|
|
|
|
if (count($releases) == 0) { |
|
|
|
if (count($releases) == 0) { |
|
|
|
Console::output('Release are not available for <bold>' . $this->getConfig()->getHost() . '</bold> ... <red>FAIL</red>'); |
|
|
|
Console::output('Release are not available for <bold>' . $this->getConfig()->getHost() . '</bold> ... <red>FAIL</red>'); |
|
|
|
|
|
|
|
|
|
|
|