diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-05-28 16:36:04 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-28 16:36:04 +0200 |
commit | d1d2a991eea1b7884c25362118be6243c8b618a4 (patch) | |
tree | 5ff63e63ca1be0ca2b932fc6b3d9324a84a1e6b2 /bin | |
parent | 629e3624057e2a8bd1bf9aa1a4b59ba37069420c (diff) | |
download | jenkins.debian.net-d1d2a991eea1b7884c25362118be6243c8b618a4.tar.xz |
lvc: execute script remotely via jenkins wrappers
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh index cd372e3b..74ce9a71 100755 --- a/bin/jenkins_node_wrapper.sh +++ b/bin/jenkins_node_wrapper.sh @@ -69,6 +69,10 @@ elif [[ "$*" =~ rebootstrap_.* ]] ; then REBOOTSTRAPSH="/srv/jenkins/bin/rebootstrap.sh $@" export LC_ALL=C exec $REBOOTSTRAPSH; croak "Exec failed"; +elif [[ "$*" =~ lvc_.* ]] ; then + shift + COMMAND="/srv/jenkins/bin/lvc.sh $@" + exec $COMMAND; croak "Exec failed"; elif [ "$*" = "reproducible_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 |