From: Thanh Ha Date: Mon, 15 Jun 2015 19:43:58 +0000 (-0400) Subject: Improve script to use $WORKSPACE X-Git-Tag: release/lithium~31^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=965f0288cc888da84d56ae730718607f941b896b;p=releng%2Fbuilder.git Improve script to use $WORKSPACE 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 --- diff --git a/jjb/sfc/sfc-python.yaml b/jjb/sfc/sfc-python.yaml index 55294f262..34f6dc579 100644 --- a/jjb/sfc/sfc-python.yaml +++ b/jjb/sfc/sfc-python.yaml @@ -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