From 19a02460e8da96675d7d6e2228485471a2d9b745 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 9 Apr 2019 15:18:11 +0200 Subject: [PATCH] adds jacoco check to Jenkinsfile --- Jenkinsfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 14765f10..fac96e2e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,6 +29,16 @@ node { } } + stage('backend check') { + try { + sh "./gradlew check -PnodeInstall --no-daemon" + } catch (err) { + throw err + } finally { + archiveArtifacts artifacts: '**/build/reports/jacoco/test/html/', fingerprint: true + } + } + stage('frontend tests') { try { sh "./gradlew npm_run_test -PnodeInstall --no-daemon"