From 35cd165fd867065899a0b597c2f21cb8e26512d3 Mon Sep 17 00:00:00 2001 From: Marc Mattmueller Date: Wed, 13 Oct 2021 12:32:37 +0200 Subject: [PATCH] jenkins/common: set rsync to be quiet on jenkins output Signed-off-by: Marc Mattmueller --- Jenkinsfile_Common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile_Common b/Jenkinsfile_Common index 4585ca3..a7ee63e 100644 --- a/Jenkinsfile_Common +++ b/Jenkinsfile_Common @@ -172,9 +172,9 @@ def syncSources(src, dst) { sshagent (credentials: ['7767e711-08a4-4c71-b080-197253dd7392']) { // When the SRC is local, we want to avoid "*" expansion if (hasSrcUrl) - sh "rsync -q -auvz --ignore-existing -e \"ssh\" ${from}/* ${to}" + sh "set +x; rsync -q -auvz --ignore-existing -e \"ssh\" ${from}/* ${to}" else - sh "rsync -q -auvz --ignore-existing -e \"ssh\" \$(find ${from} -maxdepth 1) ${to}" + sh "set +x; rsync -q -auvz --ignore-existing -e \"ssh\" \$(find ${from} -maxdepth 1) ${to}" } }