mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 17:05:49 +00:00
Jenkins
This commit is contained in:
parent
c26c2bdcc3
commit
ddc18be9cd
1 changed files with 5 additions and 5 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -1,17 +1,17 @@
|
|||
node {
|
||||
stage('git springpetclinic'){
|
||||
stage ('git springpetclinic') {
|
||||
//git clone
|
||||
git branch: 'Dev', url: 'https://github.com/Srinath246/spring-petclinic.git'
|
||||
}
|
||||
stage('package the spring'){
|
||||
//maven package
|
||||
stage ('package the spring') {
|
||||
//maven package
|
||||
sh 'mvn package'
|
||||
}
|
||||
stage('archival'){
|
||||
stage ('archival') {
|
||||
//archiving artifactory
|
||||
archive 'target/*.jar'
|
||||
}
|
||||
stage('test result'){
|
||||
stage ('test result') {
|
||||
junit 'target/surefire-reports/*.xml'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue