Fix: Re-instate path change to fix tox jobs
A bug was recently introduced preventing tox from finding the tox.ini
Issue-ID: CIMAN-33
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Change-Id: I6a6e7a97c02637beb3b6578f7aaf9aeaf2129e8d
diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml
index dcc5985..5c44bda 100644
--- a/jjb/global-templates-python.yaml
+++ b/jjb/global-templates-python.yaml
@@ -74,10 +74,15 @@
export TOX_TESTENV_PASSENV=PYTHONPATH
fi
+ python -m pip install --upgrade pip
+ python -m pip install --upgrade tox argparse
+
# Useful debugging
python --version
+ python -m pip freeze
tox --version
+ cd $WORKSPACE/{path}
tox
publishers: