nplab-m3ua-test: support running without jenkins

Don't use $WORKSPACE anymore, use $VOL_BASE_DIR like in every other in this repository. Make it possible to run
outside of jenkins (where $WORKSPACE is not set), because will set up $VOL_BASE_DIR to point to /tmp/logs.

Change-Id: I200b4ee1760a879cbc0a80a30a062a3f2a8e703d
This commit is contained in:
Oliver Smith 2019-04-05 08:25:56 +02:00
parent e021ae6ab3
commit bdfb823f05
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ docker run --rm \
--network $NET_NAME --ip \
-v $VOL_BASE_DIR/m3ua-tester:/data \
--name ${BUILD_TAG}-m3ua-test \
$REPO_USER/nplab-m3ua-test > $WORKSPACE/logs/junit-xml-m3ua.log
$REPO_USER/nplab-m3ua-test > $VOL_BASE_DIR/junit-xml-m3ua.log
docker container stop -t 1 ${BUILD_TAG}-stp