nplab-m3ua-test: support running without jenkins
Don't use $WORKSPACE anymore, use $VOL_BASE_DIR like in every other jenkins.sh in this repository. Make it possible to run jenkins.sh outside of jenkins (where $WORKSPACE is not set), because jenkins_common.sh will set up $VOL_BASE_DIR to point to /tmp/logs. Change-Id: I200b4ee1760a879cbc0a80a30a062a3f2a8e703d
This commit is contained in:
parent
e021ae6ab3
commit
bdfb823f05
|
@ -30,7 +30,7 @@ docker run --rm \
|
|||
--network $NET_NAME --ip 172.18.7.2 \
|
||||
-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
|
||||
|
||||
|
|
Loading…
Reference in New Issue