mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:35:50 +00:00
added some changes
This commit is contained in:
parent
155de91801
commit
b8f11381e9
1 changed files with 10 additions and 10 deletions
20
Jenkins
20
Jenkins
|
@ -1,23 +1,23 @@
|
||||||
pipeline{
|
pipeline {
|
||||||
agent{label "MAVEN"}
|
agent { label 'MAVEN' }
|
||||||
options{
|
options {
|
||||||
timeout(time: 30, unit: 'MINUTES')
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
triggers {
|
triggers {
|
||||||
pollSCM('* * * * *')
|
pollSCM('* * * * *')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('git') {
|
stage('git') {
|
||||||
steps {
|
steps {
|
||||||
git url :'https://github.com/dhille98/spring-petclinic.git'
|
git url: 'https://github.com/dhille98/spring-petclinic.git' ,
|
||||||
branch : 'dev'
|
branch: 'dev'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('bulid') {
|
stage('build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn clean package'
|
sh 'mvn clean package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue