adds jacoco check to Jenkinsfile

This commit is contained in:
Michael Hoennig 2019-04-09 15:18:11 +02:00
parent ec70357ea0
commit 19a02460e8

10
Jenkinsfile vendored
View File

@ -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"