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 | |
parent | 629e3624057e2a8bd1bf9aa1a4b59ba37069420c (diff) | |
download | jenkins.debian.net-d1d2a991eea1b7884c25362118be6243c8b618a4.tar.xz |
lvc: execute script remotely via jenkins wrappers
-rwxr-xr-x | bin/jenkins_node_wrapper.sh | 4 | ||||
-rw-r--r-- | job-cfg/lvc.yaml | 2 |
2 files changed, 5 insertions, 1 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 diff --git a/job-cfg/lvc.yaml b/job-cfg/lvc.yaml index 95a98608..f810bc46 100644 --- a/job-cfg/lvc.yaml +++ b/job-cfg/lvc.yaml @@ -40,7 +40,7 @@ wrappers: - live-screenshot builders: - - shell: '/srv/jenkins/bin/lvc.sh {my_iso} /srv/jenkins/cucumber/features' + - shell: '/srv/jenkins/bin/jenkins_master_wrapper.sh {my_iso} /srv/jenkins/cucumber/features' triggers: - timed: '{my_time}' node: 'profitbricks10' |