mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-03 04:08:57 +02:00
Ignoring errors while deleting temp files
This commit is contained in:
@@ -109,11 +109,11 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
|
||||
$result = $this->runCommandRemote($command) && $result;
|
||||
|
||||
// Delete Tar Gz from Remote Host
|
||||
$command = $this->getReleasesAwareCommand('rm ' . $remoteTarGz . '.tar.gz');
|
||||
$command = $this->getReleasesAwareCommand('rm -f ' . $remoteTarGz . '.tar.gz');
|
||||
$result = $this->runCommandRemote($command) && $result;
|
||||
|
||||
// Delete Tar Gz from Local
|
||||
$command = 'rm ' . $localTarGz . ' ' . $localTarGz . '.tar.gz';
|
||||
$command = 'rm -f ' . $localTarGz . ' ' . $localTarGz . '.tar.gz';
|
||||
$result = $this->runCommandLocal($command) && $result;
|
||||
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user