diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-11-30 13:11:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2017-11-30 13:11:13 +0000 |
commit | 80a91eb46584a3470f3b586df55d3201edfd1a60 (patch) | |
tree | 1a00842d71add55a8f48a99bc465a6dc106ad5fb /jjb/common | |
parent | 75443e793ee526df4a23aa9044dcd517aa9bc8dd (diff) | |
parent | 0219f5537c874fe92529cca26b8ee52b686489d5 (diff) |
Merge "jjb/common/lava-labs-prepare: LAVA fail gracefully if device not found"
Diffstat (limited to 'jjb/common')
-rw-r--r-- | jjb/common/include-agl-lava-labs-prepare.sh | 3 |
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 |