From b8f11381e9b002bee816a800cbef12caa23194c4 Mon Sep 17 00:00:00 2001 From: dhille Date: Thu, 30 Nov 2023 19:57:39 +0530 Subject: [PATCH] added some changes --- Jenkins | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Jenkins b/Jenkins index 92ee2f87f..42c7411d7 100644 --- a/Jenkins +++ b/Jenkins @@ -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' } } } + } \ No newline at end of file