[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible_debian_live_build: pass -p to scp command
Holger Levsen (@holger)
gitlab at salsa.debian.org
Tue Jun 7 11:31:16 BST 2022
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
d39d85d8 by Roland Clobus at 2022-06-07T12:31:07+02:00
reproducible_debian_live_build: pass -p to scp command
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/jenkins_node_wrapper.sh
Changes:
=====================================
bin/jenkins_node_wrapper.sh
=====================================
@@ -60,11 +60,11 @@ shift
if [[ "$*" = "/bin/true" ]] ; then
exec /bin/true ; croak "Exec failed";
-elif [[ "$1" = scp ]] && [[ "$2" = -p ]]; then
+elif [ "$1" = scp ] && [ "$2" = -p ] && [ "$3" = -f ]; then
set -x
echo "Debug: $*"
echo "Debug: $@"
- exec scp -f "$3"; croak "Exec failed";
+ exec scp -p -f "$4"; croak "Exec failed";
elif [[ "$*" = 'rm -v $(mktemp --tmpdir=/tmp read-only-fs-test-XXXXXX)' ]] ; then
exec rm -v $(mktemp --tmpdir=/tmp read-only-fs-test-XXXXXX) ; croak "Exec failed";
elif [[ "$*" = "cleanup_nodes /srv/jenkins/bin/reproducible_slay.sh" ]] ; then
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/d39d85d8103324fd5627fedb1b4875daab2971d1
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/d39d85d8103324fd5627fedb1b4875daab2971d1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20220607/3eaa7ef7/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list