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