[Qa-jenkins-scm] [jenkins.debian.net] 01/01: lvc: execute script remotely via jenkins wrappers
Holger Levsen
holger at layer-acht.org
Sat May 28 14:37:22 UTC 2016
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 d1d2a991eea1b7884c25362118be6243c8b618a4
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat May 28 16:36:04 2016 +0200
lvc: execute script remotely via jenkins wrappers
---
bin/jenkins_node_wrapper.sh | 4 ++++
job-cfg/lvc.yaml | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index cd372e3..74ce9a7 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 95a9860..f810bc4 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'
--
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