From e9722cb93260b1c72724b9c6b4ebe1ea1a7edf64 Mon Sep 17 00:00:00 2001 From: Aseerwadham Date: Thu, 16 Mar 2023 15:49:12 +0530 Subject: [PATCH] Added changes in Sonar --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8881030b6..1b69ab91a 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/Aseerwadham/spring-petclinic.git', branch: 'main' } } @@ -16,13 +16,13 @@ pipeline { jdk 'JDK_17' } steps { - sh "mvn ${params.MAVEN_GOAL}" + sh "./mvnw ${params.MAVEN_GOAL}" } } stage('sonar analysis') { steps { withSonarQubeEnv('SONAR_CLOUD') { - sh 'mvn clean package sonar:sonar -Dsonar.organization=springpetclinic143' + sh './mvnw clean package sonar:sonar -Dsonar.organization=springpetclinic143' } } }