diff --git a/modules/openstack_project/files/slave_scripts/run-docs.sh b/modules/openstack_project/files/slave_scripts/run-docs.sh index 5efa6bbbf3..69d0fa9d78 100755 --- a/modules/openstack_project/files/slave_scripts/run-docs.sh +++ b/modules/openstack_project/files/slave_scripts/run-docs.sh @@ -17,6 +17,11 @@ source /usr/local/jenkins/slave_scripts/select-mirror.sh $org $project venv=venv +echo "Begin pip freeze output from test virtualenv:" +echo "======================================================================" +tox -e$venv -- pip freeze +echo "======================================================================" + mkdir -p doc/build export HUDSON_PUBLISH_DOCS=1 tox -e$venv -- python setup.py build_sphinx @@ -76,9 +81,4 @@ else mv doc/build/tmp/* doc/build/html/$BRANCH fi -echo "Begin pip freeze output from test virtualenv:" -echo "======================================================================" -.tox/$venv/bin/pip freeze -echo "======================================================================" - exit $result