jenkins/common: escaped $ from rsync command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
d676264535
commit
988558b95d
|
|
@ -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}"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue