aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/common')
-rw-r--r--jjb/common/include-agl-lava-labs-prepare.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/jjb/common/include-agl-lava-labs-prepare.sh b/jjb/common/include-agl-lava-labs-prepare.sh
index 95f4cbb9..938dcbe6 100644
--- a/jjb/common/include-agl-lava-labs-prepare.sh
+++ b/jjb/common/include-agl-lava-labs-prepare.sh
@@ -81,6 +81,7 @@ for lab in "${!labs[@]}"; do
lava-tool auth-add --token $token_file $full_url
if [ $? != 0 ]; then
echo "ERROR: Lab ${lab}: lava-tool auth-add failed."
+ continue
fi
rm -f $token_file
@@ -117,5 +118,5 @@ done
if [ "$device_available" -eq 0 ]; then
echo ""
echo "ERROR: device not found in any available lab."
- exit 1
+ exit 0
fi