diff options
author | 2017-12-15 15:45:55 +0000 | |
---|---|---|
committer | 2017-12-15 15:45:55 +0000 | |
commit | 2f9cdc4a592e46a4bbe5576281c8a16296096c9d (patch) | |
tree | 5eb02b5f93aa88af030e494edbd481e040d72a9a /jjb/common/include-agl-lava-jobs-submit.sh | |
parent | 7f61f12d910291676dc5a90e2b9bf7874d58843b (diff) | |
parent | 9de2c6c4749ef1f8079cb7393d3f3c24b11b13a7 (diff) |
Merge "jjb/common: if any, display lava error msg in jenkins log"
Diffstat (limited to 'jjb/common/include-agl-lava-jobs-submit.sh')
-rw-r--r-- | jjb/common/include-agl-lava-jobs-submit.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 3703ce5b..0eccbf6a 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -47,6 +47,7 @@ JOB_OUTPUT="${JOB_BASE}_output.yaml" JOB_LOG="${JOB_BASE}_output.log" curl -s -o $JOB_OUTPUT $lava_url/scheduler/job/$job_id/log_file/plain cat $JOB_OUTPUT | grep '"target",' | sed -e 's#- {"dt".*"lvl".*"msg":."##g' -e 's#"}$##g' | tee $JOB_LOG +cat $JOB_OUTPUT | grep '"error_msg":' | sed -e 's#.*"error_msg": "##g' -e 's#", ".*##g' | tee -a $JOB_LOG echo "####" echo "#### End: Output from LAVA job $job_id ####" |