Add set -x flag so these scripts echo steps in Jenkins output.
Change-Id: Ia09f3194407f6c94d8cb1adfbb4d32e9a4592ff6
Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
##############################################################################
echo "---> rtd-trigger-build.sh"
+# Ensure we fail the job if any steps fail.
+# DO NOT set -u
+set -xe -o pipefail
+
if [ "$GERRIT_BRANCH" == "master" ]; then
RTD_BUILD_VERSION=latest
else
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