From: Khouloud Touil Date: Wed, 1 May 2019 13:02:57 +0000 (+0200) Subject: Fix the status problem of lavacli X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=5b839f7796c12a4afda2cf697ec8028070065cc1;p=ci-management.git Fix the status problem of lavacli When using --yaml option to show the job information the 'Health' is no longer with capital 'H'. This patch change the 'Health" to 'health'. Change-Id: Ifd463b4aee9ca90bbaa017e2f409a5105cec3e93 Signed-off-by: Khouloud Touil --- diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index ae980424..9c00d329 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -55,7 +55,7 @@ for i in $(seq 1 $JOB_TIMEOUT); do fi state=$(grep ^state: $JOB_STATUS| cut -d' ' -f2) if [ $state == "Finished" ]; then - status=$(grep ^Health: $JOB_STATUS| cut -d' ' -f2) + status=$(grep ^health: $JOB_STATUS| cut -d' ' -f2) echo "LAVA job $job_id completed with status: $status" break fi