added some changes

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

View file

@ -1,5 +1,5 @@
pipeline { pipeline {
agent{label "MAVEN"} agent { label 'MAVEN' }
options { options {
timeout(time: 30, unit: 'MINUTES') timeout(time: 30, unit: 'MINUTES')
} }
@ -9,15 +9,15 @@ pipeline{
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'
} }
} }
} }
} }