From 949f5af92d8bb31fba1fe6b5eb8ef91f4995d48b Mon Sep 17 00:00:00 2001 From: Nanditha54 Date: Wed, 8 Mar 2023 15:51:35 +0530 Subject: [PATCH] Added changes --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b13e8a2ef..3470bc347 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,11 +23,11 @@ pipeline { stage('sonar analysis') { steps { // performing sonarqube analysis with "withSonarQubeENV()" - withSonarQubeEnv('SONAR_CLOUD'), + withSonarQubeEnv('SONAR_CLOUD') { sh 'mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=nan_sonarcube' } } - + } stage('post build') { steps { archiveArtifacts artifacts: '**/target/spring-petclinic-3.0.0-SNAPSHOT.jar',