summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/jenkins_master_wrapper.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/jenkins_master_wrapper.sh b/bin/jenkins_master_wrapper.sh
index 2ae8f908..bf06b088 100755
--- a/bin/jenkins_master_wrapper.sh
+++ b/bin/jenkins_master_wrapper.sh
@@ -70,8 +70,13 @@ 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