[Qa-jenkins-scm] [jenkins.debian.net] 01/01: lvc: provide WORKSPACE via ssh wrapper

Holger Levsen holger at layer-acht.org
Sun May 29 17:46:32 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 24ab153bb34c15d8c35f6adacf1603140f62c39b
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun May 29 19:46:22 2016 +0200

    lvc: provide WORKSPACE via ssh wrapper
---
 bin/jenkins_node_wrapper.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/jenkins_node_wrapper.sh b/bin/jenkins_node_wrapper.sh
index a12829f..03635ed 100755
--- a/bin/jenkins_node_wrapper.sh
+++ b/bin/jenkins_node_wrapper.sh
@@ -71,6 +71,7 @@ elif [[ "$*" =~ rebootstrap_.* ]] ; then
 	exec $REBOOTSTRAPSH; croak "Exec failed";
 elif [[ "$*" =~ lvc_.* ]] ; then
 	export JOB_NAME=$0
+	export WORKSPACE=~jenkins/jobs/$JOB_NAME/workspace
 	shift
 	COMMAND="/srv/jenkins/bin/lvc.sh $@"
 	exec $COMMAND; croak "Exec failed";

-- 
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