From 28f5a48f1d4d9ec4f3ac4cf0703b70c7b58f5a13 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 17 Apr 2020 17:59:35 +0200 Subject: [PATCH] validation: bluval: Use own repo logparser rules Instead of creating the logparser rules.txt file on the fly, rely on the project's git repository providing it. While at it, add and configure the 'robot' publisher in order to enable Jenkins dashboard integration and display some nice summaries directly in the 'blueval' view (using the 'Robot Results + Duration Trend' column), as well as on the job's overview webpage. JIRA: VAL-104 Depends-on: I1506d84a44926e80913562f67f24885a98f94df7 Change-Id: I971ae6f8949caac8debc1aee0f35e0b35b8f65e6 Signed-off-by: Alexandru Avadanii --- jjb/akraino-templates/akraino-validation-templates.yaml | 9 +++++++-- jjb/shell/run_bluval.sh | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/jjb/akraino-templates/akraino-validation-templates.yaml b/jjb/akraino-templates/akraino-validation-templates.yaml index 33fb9be..c8a844f 100644 --- a/jjb/akraino-templates/akraino-validation-templates.yaml +++ b/jjb/akraino-templates/akraino-validation-templates.yaml @@ -158,9 +158,14 @@ - ../shell/run_bluval.sh publishers: + - robot: + output-path: 'results' + report-html: '**/report.html' + log-html: '**/log.html' + output-xml: '**/output.xml' - logparser: use-project-rules: true parse-rules: "./bluval/rules.txt" - unstable-on-warning: true + unstable-on-warning: false fail-on-error: true - show-graphs: false + show-graphs: true diff --git a/jjb/shell/run_bluval.sh b/jjb/shell/run_bluval.sh index fc16781..844c611 100755 --- a/jjb/shell/run_bluval.sh +++ b/jjb/shell/run_bluval.sh @@ -162,8 +162,6 @@ then options+=" -o" fi -printf 'ok / PASS /\nerror / FAIL /\n' > ./bluval/rules.txt - set +e # even if the script fails we need to change the owner of results # shellcheck disable=SC2086 -- 2.16.6