X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;h=61c1974e135fd9adf7d8ead4921e9a519e19ee2c;hb=refs%2Fchanges%2F09%2F9109%2F2;hp=ff06358767ad21a5307314183e48be23b43d4403;hpb=1c6c45e731e8941f3ff7894641ca7aee77a80426;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index ff063587..61c1974e 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -11,8 +11,8 @@ echo "---> rtd-verify.sh" # Ensure we fail the job if any steps fail. -# DO NOT set -u as virtualenv's activate script has unbound variables -set -e -o pipefail +# DO NOT set -u +set -xe -o pipefail echo "---> Fetching project" if [ "$GERRIT_PROJECT" != "$PROJECT" ]; then @@ -20,8 +20,10 @@ if [ "$GERRIT_PROJECT" != "$PROJECT" ]; then fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD +git submodule update echo "---> Generating docs" +cd "$WORKSPACE" tox -edocs echo "---> Archiving generated docs"