From ae062b2cffa48ecf77de0623daa9850f6492c33e Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sat, 4 Nov 2017 15:36:04 +0100 Subject: 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 --- 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 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 -- cgit v1.2.3-70-g09d2