Disable exit on error detection in lava-labs-prepare.sh, this script is
looking for error codes when needed and exits gracefully.
Change-Id: I0044466ef3f7ad7b606b1452d51676a4472e87d0
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
#
# Strucuture: [JENKINS_LAB_NAME]="LAB_URL;JENKINS_LAB_USER;JENKINS_LAB_TOKEN;RELENG_LAB_NAME"
#
+
+# Let the script handle errors nicely
+set +e
+
declare -A labs
labs=(
[agl]="https://lava.automotivelinux.org/;$LAB_AGL_USER;$LAB_AGL_TOKEN;lab-agl-core"
echo "ERROR: device not found in any available lab."
exit 0
fi
+
+# Re-enable error detection
+set -e