Added test and coverage results
All checks were successful
spigotresourcesync/pipeline/head This commit looks good

This commit is contained in:
2024-11-14 03:07:16 +00:00
parent 6bb54c5cdb
commit 5574342811
2 changed files with 12 additions and 1 deletions

3
Jenkinsfile vendored
View File

@@ -15,11 +15,14 @@ pipeline {
stage("test") {
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']])
}
}
stage("deploy") {
steps {
sh "mvn package"
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
}
}
}