From baf20b9dbfebc02dff62e6de6687b1a4b4cb7095 Mon Sep 17 00:00:00 2001 From: Nanditha54 Date: Wed, 8 Mar 2023 15:17:35 +0530 Subject: [PATCH] Added changes --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1614ecb40..3fa66d932 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { stages { stage('vcs') { steps { - git url: 'https://github.com/khajadevopsmarch23/spring-petclinic.git', + git url: 'https://github.com/Nanditha54/spring-petclinic.git', branch: 'declarative' } } @@ -15,7 +15,9 @@ pipeline { tools { jdk 'JDK_17' } - sh "mvn ${params.MAVEN_GOAL}" + steps { + sh 'mvn package' + sh "mvn ${params.MAVEN_GOAL}" } } stage('sonar analysis') {