Jenkinsfile now displays test results and archives build.
This commit is contained in:
parent
21ce300b08
commit
41938de11b
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -16,11 +16,13 @@ pipeline {
|
||||
stage ("Test") {
|
||||
steps {
|
||||
sh "mvn -Dmaven.test.skip=false test"
|
||||
junit 'target/surefire-reports/TEST-*.xml'
|
||||
}
|
||||
}
|
||||
stage ("Package") {
|
||||
steps {
|
||||
sh "mvn package"
|
||||
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true, followSymlinks: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user