mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:55:49 +00:00
added artifacts and test reports
This commit is contained in:
parent
48907f4bd2
commit
6c834fe6db
1 changed files with 8 additions and 0 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -13,5 +13,13 @@ pipeline {
|
|||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
stage('test code by using sonarqube') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: '**/target/gameoflife.war',
|
||||
onlyIfSuccessful: true,
|
||||
allowEmptyArchive: true
|
||||
junit testResults: '**/surefire-reports/TEST-*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue