added some changes

This commit is contained in:
dhille 2023-11-30 19:57:39 +05:30
parent 155de91801
commit b8f11381e9

20
Jenkins
View file

@ -1,23 +1,23 @@
pipeline{
agent{label "MAVEN"}
options{
timeout(time: 30, unit: 'MINUTES')
pipeline {
agent { label 'MAVEN' }
options {
timeout(time: 30, unit: 'MINUTES')
}
triggers {
pollSCM('* * * * *')
}
pollSCM('* * * * *')
}
stages {
stage('git') {
steps {
git url :'https://github.com/dhille98/spring-petclinic.git'
branch : 'dev'
git url: 'https://github.com/dhille98/spring-petclinic.git' ,
branch: 'dev'
}
}
stage('bulid') {
stage('build') {
steps {
sh 'mvn clean package'
}
}
}
}