mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 00:05:50 +00:00
Jenkinsfile_SP2
This commit is contained in:
parent
ca5d9dede1
commit
8b606f85ae
1 changed files with 3 additions and 2 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -7,8 +7,9 @@
|
||||||
//building using maven and install
|
//building using maven and install
|
||||||
sh 'mvn clean package'
|
sh 'mvn clean package'
|
||||||
}
|
}
|
||||||
stage('Archive test results'){
|
stage('Install & Archive test results'){
|
||||||
//archive test reuslts
|
//insteall & archive test reuslts
|
||||||
|
shh 'mvn clean install'
|
||||||
junit '**/surefire-reports/*xml'
|
junit '**/surefire-reports/*xml'
|
||||||
archiveArtifacts artifacts: '**/*.war', followSymlinks: false
|
archiveArtifacts artifacts: '**/*.war', followSymlinks: false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue