mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:15: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 {
|
node {
|
||||||
stage('git springpetclinic'){
|
stage ('git springpetclinic') {
|
||||||
//git clone
|
//git clone
|
||||||
git branch: 'Dev', url: 'https://github.com/Srinath246/spring-petclinic.git'
|
git branch: 'Dev', url: 'https://github.com/Srinath246/spring-petclinic.git'
|
||||||
}
|
}
|
||||||
stage('package the spring'){
|
stage ('package the spring') {
|
||||||
//maven package
|
//maven package
|
||||||
sh 'mvn package'
|
sh 'mvn package'
|
||||||
}
|
}
|
||||||
stage('archival'){
|
stage ('archival') {
|
||||||
//archiving artifactory
|
//archiving artifactory
|
||||||
archive 'target/*.jar'
|
archive 'target/*.jar'
|
||||||
}
|
}
|
||||||
stage('test result'){
|
stage ('test result') {
|
||||||
junit 'target/surefire-reports/*.xml'
|
junit 'target/surefire-reports/*.xml'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue