summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-11-04 15:36:04 +0100
committerHolger Levsen <holger@layer-acht.org>2017-11-04 15:38:02 +0100
commitae062b2cffa48ecf77de0623daa9850f6492c33e (patch)
tree1a042dbce3c41a4942a8833f669a2225a5ff7ce1 /bin
parent883f70ada2adb159f8f9c96427c491a03a7d41cc (diff)
downloadjenkins.debian.net-ae062b2cffa48ecf77de0623daa9850f6492c33e.tar.xz
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@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/jenkins_node_wrapper.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index 6c2e0878..57ab5ea7 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