mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:55:49 +00:00
Added the name change in pipeline
This commit is contained in:
parent
c03613da5a
commit
27734ce912
1 changed files with 9 additions and 3 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -13,10 +13,16 @@ pipeline {
|
||||||
sh 'mvn package'
|
sh 'mvn package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage( 'post build' ) {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
archiveArtifacts artifacts: '**/spring-petclinic-3.0.0.jar',
|
sh 'export PATH="/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin:$PATH" && mvn package'
|
||||||
junit testResults: '**/test-results/test/TEST-*.xml'
|
}
|
||||||
|
}
|
||||||
|
stage('postbuild')
|
||||||
|
{
|
||||||
|
archiveArtifacts artifacts: '**/target/spring-petclinic.war',
|
||||||
|
followSymlinks: false
|
||||||
|
junit '**/surefire-reports/TEST-*.xml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue