jenkins: add Coverage stage

This commit is contained in:
Paul Campbell 2018-03-03 16:30:01 +00:00
parent fa63f2f104
commit edf98ed593

View file

@ -42,6 +42,11 @@ pipeline {
archiveArtifacts '**/target/*.jar'
}
}
stage('Coverage') {
steps {
jacoco(execPattern: '**/target/jacoco.exec')
}
}
stage('Deploy') {
when { expression { (env.GIT_BRANCH == 'master') } }
steps {