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{ 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'
} }
} }
} }
} }