validation: bluval: Use own repo logparser rules 69/3369/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 17 Apr 2020 15:59:35 +0000 (17:59 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 17 Apr 2020 23:35:03 +0000 (01:35 +0200)
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 <Alexandru.Avadanii@enea.com>
jjb/akraino-templates/akraino-validation-templates.yaml
jjb/shell/run_bluval.sh

index 33fb9be..c8a844f 100644 (file)
         - ../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
index fc16781..844c611 100755 (executable)
@@ -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