From 06c58f1591e1c0c6b31122581a480672443bb08f Mon Sep 17 00:00:00 2001 From: Bharatkumar5690 Date: Wed, 8 Mar 2023 12:48:01 +0530 Subject: [PATCH] added sonarqube --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0dd28d227..3a6d5e140 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { stage('Test the code by using sonarqube') { steps { withSonarQubeEnv('SONAR_CLOUD') { - sh 'mvn clean package sonar:sonar' + sh 'mvn clean verify sonar:sonar -Dsonar.login=ea06c1ce5d1ee81e35db29d8cb0de69b42c70278 -Dsonar.organization=springpetclinic-1' } } }