diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2020-11-25 14:21:17 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2020-11-25 14:21:17 +0100 |
commit | 1093060e644b86cc969f4fc72e92be23c2d373d9 (patch) | |
tree | 0d281835c5adf7ae6f4928b1b4fe8fcd667e2c01 /jjb | |
parent | 45f88c9f60766da7d9f8a139bdba7c0820ee51ae (diff) |
Update of projects with coverage
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ie7955e06765a72ce6ef3f30d590df34a07dff226
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/ci-apps-verify/app-projects.yaml.inc | 2 | ||||
-rw-r--r-- | jjb/ci-apps-verify/ci-apps-jjb.yaml | 3 | ||||
-rw-r--r-- | jjb/common/include-agl-lava-jobs-submit.sh | 13 |
3 files changed, 13 insertions, 5 deletions
diff --git a/jjb/ci-apps-verify/app-projects.yaml.inc b/jjb/ci-apps-verify/app-projects.yaml.inc index 2176b008..59da4d6f 100644 --- a/jjb/ci-apps-verify/app-projects.yaml.inc +++ b/jjb/ci-apps-verify/app-projects.yaml.inc @@ -66,6 +66,7 @@ - demo3-tachometer - demo3-warehouse - homescreen +- homescreen-demo-ci - html5-dashboard - html5-homescreen - html5-hvac @@ -93,3 +94,4 @@ - taskmanager - tbtnavi - videoplayer +- waltham-receiver diff --git a/jjb/ci-apps-verify/ci-apps-jjb.yaml b/jjb/ci-apps-verify/ci-apps-jjb.yaml index 21ae9272..c34ad800 100644 --- a/jjb/ci-apps-verify/ci-apps-jjb.yaml +++ b/jjb/ci-apps-verify/ci-apps-jjb.yaml @@ -4,8 +4,7 @@ aglbranch: - master - icefish - - halibut - - guppy + - jellyfish architecture: - aarch64 - x86-64 diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 830c30a4..b7c393d2 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -162,14 +162,21 @@ if [ -s job-result.fail ];then handle_skiplist handle_result fi - set -x -MSG_FAIL="CI-Image-Boot-Test fail on ${MACHINE}" -MSG_SUCCESS="CI-Image-Boot-Test success on ${MACHINE}" +LINES_PERCENT=$(grep LINES_PERCENT= $JOB_LOG | sed -e 's#LINES_PERCENT=##g' | head -1) +BRANCHES_PERCENT=$(grep BRANCHES_PERCENT= $JOB_LOG | sed -e 's#LINES_PERCENT=##g' | head -1) + +MSG_FAIL="CI-Image-Boot-Test fail on ${MACHINE}. Coverage: Lines ${LINES_PERCENT:-0}% , Branches ${BRANCHES_PERCENT:-0}% +${JOB_URL}" +MSG_SUCCESS="CI-Image-Boot-Test success on ${MACHINE}. Coverage: Lines ${LINES_PERCENT:-0}% , Branches ${BRANCHES_PERCENT:-0}% +${JOB_URL}" + MSG_BUILD_LOG="${BUILD_URL}consoleFull" MSG_JOBFAIL="Failed jobs: $(cat job-result.fail)" +set +x + if [ $GOODJOB -eq 0 ];then #construct message cat << EOF > .msg |