Add parameters to recordcoverage in Jenkinsfile

This commit is contained in:
Mateusz Pieła 2024-03-10 23:05:17 +01:00
parent c3bf38d911
commit b33f004b19

2
Jenkinsfile vendored
View file

@ -16,7 +16,7 @@ pipeline {
steps {
sh 'mvn test'
junit '**/target/surefire-reports/*.xml'
recordCoverage(tools: [[]])
recordCoverage(tools: [[parser: 'JACOCO']], id: 'jacoco', name: 'JaCoCo Coverage', sourceCodeRetention: 'EVERY_BUILD')
}
}
stage('Deploy') {