jenkins: add Coverage stage
This commit is contained in:
parent
fa63f2f104
commit
edf98ed593
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,11 @@ pipeline {
|
||||||
archiveArtifacts '**/target/*.jar'
|
archiveArtifacts '**/target/*.jar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Coverage') {
|
||||||
|
steps {
|
||||||
|
jacoco(execPattern: '**/target/jacoco.exec')
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
when { expression { (env.GIT_BRANCH == 'master') } }
|
when { expression { (env.GIT_BRANCH == 'master') } }
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue