diff options
author | 2019-09-10 17:54:04 +0200 | |
---|---|---|
committer | 2019-09-10 17:54:04 +0200 | |
commit | d2ce029d34e0ddc0d588a982312c312771fd1c75 (patch) | |
tree | 0731ad716598c525ec24450a3873d609ec60e722 /jjb/common/include-agl-lava-jobs-submit.sh | |
parent | be1567b06e77261cc48a69bf57d0eabfee26f3a7 (diff) |
Fix error in CIBT scripting and harden pipeline
do not fail on CIBT result evaluation.
Change-Id: I91e84cc9e30a149f8e56c218b1f97375c76c3d95
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-lava-jobs-submit.sh')
-rw-r--r-- | jjb/common/include-agl-lava-jobs-submit.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 95976a3f..a029df14 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -125,10 +125,11 @@ handle_skiplist() { } # Analyze jobs results -lavacli results $job_id | tee job-result +lavacli results $job_id | tee job-result | grep -v '^\* ' | grep '\[fail\]$' > job-result.fail + # GOODJOB is equal to 0 if any test fail (and not present in a skiplist), 1 if all test are success GOODJOB=1 -grep -v '^\* ' | grep '\[fail\]$' > job-result.fail + if [ -s job-result.fail ];then handle_skiplist fi |