[Qa-jenkins-scm] [jenkins.debian.net] 01/02: jenkins_node_wrapper: allow rsync to send /srv/workspace/chroots/.*
Holger Levsen
holger at layer-acht.org
Sat Nov 4 14:39:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ae062b2cffa48ecf77de0623daa9850f6492c33e
Author: Alexander Couzens <lynxis at fe80.eu>
Date: Sat Nov 4 15:36:04 2017 +0100
jenkins_node_wrapper: allow rsync to send /srv/workspace/chroots/.*
LEDE changed to use /srv/workspace/chroots/ instead of /srv/reproducible-results/
to build on remote hosts
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/jenkins_node_wrapper.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 6c2e087..57ab5ea 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -76,6 +76,8 @@ elif [ "$*" = "reproducible_html_nodes_info" ] ; then
exec /srv/jenkins/bin/reproducible_info.sh ; croak "Exec failed";
elif [ "$1" = "/srv/jenkins/bin/reproducible_build.sh" ] && ( [ "$2" = "1" ] || [ "$2" = "2" ] ) ; then
exec /srv/jenkins/bin/reproducible_build.sh "$2" "$3" "$4" "$5" "$6" ; croak "Exec failed";
+elif [[ "$*" =~ ^rsync\ --server\ --sender\ .*\ \.\ /srv/workspace/chroots/.* ]] ; then
+ exec rsync --server --sender "$4" . "$6" ; croak "Exec failed";
elif [[ "$*" =~ ^rsync\ --server\ --sender\ .*\ \.\ /srv/reproducible-results/.* ]] ; then
exec rsync --server --sender "$4" . "$6" ; croak "Exec failed";
elif [[ "$*" =~ ^rsync\ --server\ --sender\ .*\ \.\ /var/lib/jenkins/userContent/reproducible/.* ]] ; then
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list