Add JENKINS_WORKSPACE to be ${WORKSPACE} 03/72203/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 23 May 2018 18:03:18 +0000 (11:03 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Wed, 23 May 2018 19:53:37 +0000 (12:53 -0700)
One problem this will help with is when we want to use
robot level code to save files in to ${JENKINS_WORKSPACE}/archives
so that our lftools deploy archives script will get those
logs. Otherwise, saving to /tmp/ (the current WORKSPACE value) does
not work.

Change-Id: I4690419a472d9f9bfeb8c57d260dec824649c727
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/integration/integration-deploy-controller-run-test.sh

index b79fab7f86208499bf6e4f80c16b22e5cb9fd284..16958a9cc6f5b5c9e1ad9428ebd96bbe8c10a847 100644 (file)
@@ -345,6 +345,7 @@ pybot -N ${TESTPLAN} \
       -v TOOLS_SYSTEM_USER:${USER} \
       -v USER_HOME:${HOME} \
       -v WORKSPACE:/tmp \
+      -v JENKINS_WORKSPACE:${WORKSPACE} \
       ${TESTOPTIONS} ${SUITES} || true
 
 echo "Examining the files in data/log and checking filesize"