summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/jenkins_master_wrapper.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/jenkins_master_wrapper.sh b/bin/jenkins_master_wrapper.sh
index bf06b088..e7d25b5c 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