From 988558b95d0f8ba6a8a9c55d2507be507747bc14 Mon Sep 17 00:00:00 2001 From: Marc Mattmueller Date: Wed, 13 Oct 2021 08:37:35 +0200 Subject: [PATCH] jenkins/common: escaped $ from rsync command Signed-off-by: Marc Mattmueller --- Jenkinsfile_Common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile_Common b/Jenkinsfile_Common index 642f649..4585ca3 100644 --- a/Jenkinsfile_Common +++ b/Jenkinsfile_Common @@ -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}" } }