X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;h=61c1974e135fd9adf7d8ead4921e9a519e19ee2c;hb=7eb6004ea840df565c6df3620a71668a58f3df0a;hp=2074ecaf4e2aeb1fe0206fe8e6e520dda961f580;hpb=1dfa47374063e36176a5c26346cb7953d92c6618;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index 2074ecaf..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,6 +20,7 @@ if [ "$GERRIT_PROJECT" != "$PROJECT" ]; then fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD +git submodule update echo "---> Generating docs" cd "$WORKSPACE"