[Qa-jenkins-scm] [jenkins.debian.net] 01/01: lvc: WORKSPACE is correct, magic
Holger Levsen
holger at layer-acht.org
Tue Aug 9 21:07:29 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 443fdb09aa375d8696a3a631155e700ddbc01d86
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Aug 9 23:07:21 2016 +0200
lvc: WORKSPACE is correct, magic
---
bin/jenkins_master_wrapper.sh | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/bin/jenkins_master_wrapper.sh b/bin/jenkins_master_wrapper.sh
index bf06b08..e7d25b5 100755
--- a/bin/jenkins_master_wrapper.sh
+++ b/bin/jenkins_master_wrapper.sh
@@ -70,19 +70,15 @@ ssh -o "BatchMode = yes" -p $PORT $NODE_NAME "$PARAMS" || {
# grab artifacts and tidy up at the other end
if [ "$RETRIEVE_ARTIFACTS" = "yes" ] ; then
- echo "debug…"
- echo "WORKSPACE=$WORKSPACE"
- echo "JOB_NAME=$JOB_NAME"
- echo "debug… end."
RESULTS="$WORKSPACE/results"
NODE_RESULTS="/var/lib/jenkins/jobs/$JOB_NAME/workspace/results"
- RESULTS=$NODE_RESULTS # yes, this is redundant. let's see if this works.
echo "$(date -u) - retrieving artifacts."
set -x
mkdir -p "$RESULTS"
rsync -r -v -e "ssh -o 'Batchmode = yes' -p $PORT" "$NODE_NAME:$NODE_RESULTS/" "$RESULTS/"
ssh -o "BatchMode = yes" -p $PORT $NODE_NAME "rm -r $NODE_RESULTS"
+ ls -lad "$RESULTS"
ls -la "$RESULTS"
fi
--
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