Changed coverage to Jacoco
All checks were successful
spigotresourcesync/pipeline/head This commit looks good

This commit is contained in:
2024-11-14 03:24:41 +00:00
parent 7e2c68bad8
commit 4bb1cd7277
2 changed files with 21 additions and 1 deletions

2
Jenkinsfile vendored
View File

@@ -16,7 +16,7 @@ pipeline {
steps {
sh "mvn test"
xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'target/surefire-reports/TEST-*.xml', stopProcessingIfError: true)]
recordCoverage(tools: [[parser: 'JUNIT', pattern: 'target/surefire-reports/TEST-*.xml']])
recordCoverage(tools: [[pattern: 'target/site/jacoco/jacoco.xml']])
}
}
stage("deploy") {