aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-05-01 15:02:57 +0200
committerKhouloud Touil <ktouil@baylibre.com>2019-05-01 15:07:36 +0200
commit5b839f7796c12a4afda2cf697ec8028070065cc1 (patch)
treeb4d6eef9732cad27ea0e866360dddff1256d53cd /jjb/common
parentce69314f67833fc38b2ef05745aaaf3f6b6f78a9 (diff)
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 <ktouil@baylibre.com>
Diffstat (limited to 'jjb/common')
-rw-r--r--jjb/common/include-agl-lava-jobs-submit.sh2
1 files changed, 1 insertions, 1 deletions
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