fix cleanup section

This commit is contained in:
Roberto Cirillo 2022-04-28 14:37:06 +02:00
parent 86ef2f57e5
commit f6cd5335ca
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -78,7 +78,7 @@ pipeline {
sh '''
echo "cleanup $DEPLOY_FILE"
if [ -f ${DEPLOY_BACKUP} ]; then
echo "backup found: ${DEPLOY_BACKUP} going to replace it"
echo "backup found: ${DEPLOY_BACKUP} going to replace it";
rm ${DEPLOY_BACKUP};
mv ${DEPLOY_FILE} ${DEPLOY_BACKUP};
touch ${DEPLOY_FILE};