jenkins/common: escaped $ from rsync command

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmueller 2021-10-13 08:37:35 +02:00
parent d676264535
commit 988558b95d
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ def syncSources(src, dst) {
if (hasSrcUrl)
sh "rsync -q -auvz --ignore-existing -e \"ssh\" ${from}/* ${to}"
else
sh "rsync -q -auvz --ignore-existing -e \"ssh\" $(find ${from} -maxdepth 1) ${to}"
sh "rsync -q -auvz --ignore-existing -e \"ssh\" \$(find ${from} -maxdepth 1) ${to}"
}
}