Added test and coverage results
All checks were successful
spigotresourcesync/pipeline/head This commit looks good
All checks were successful
spigotresourcesync/pipeline/head This commit looks good
This commit is contained in:
parent
6bb54c5cdb
commit
5574342811
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user