Release global-jjb v0.17.0
[releng/global-jjb.git] / shell / rtd-verify.sh
index 2074eca..61c1974 100644 (file)
@@ -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"