Improve script to use $WORKSPACE 35/22635/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 15 Jun 2015 19:43:58 +0000 (15:43 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 15 Jun 2015 19:52:30 +0000 (19:52 +0000)
It is not guarenteed that we will be in $WORKSPACE when this script
runs. Adding $WORKSPACE/sfc-py helps ensure that we cd to the right
place in case this something changes the environment in the future.

Change-Id: I550eb40e7fc5943452fbf286c8279fc13d1dd798
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/sfc/sfc-python.yaml

index 55294f262ac31c0063c72ebe7d84547f55253fc7..34f6dc579135d8860c75922ff829ec36e9915223 100644 (file)
@@ -81,7 +81,7 @@
             source $WORKSPACE/venv-tox/bin/activate
             pip install tox argparse
             tox --version
-            cd sfc-py
+            cd $WORKSPACE/sfc-py
             tox
             ./jenkins_build_package.sh