From 821cc06b803f2b49b4584d70cf27986226d11d4b Mon Sep 17 00:00:00 2001 From: Nanditha54 Date: Wed, 8 Mar 2023 15:29:08 +0530 Subject: [PATCH] Added changes --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3470bc347..b13e8a2ef 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',