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' } } }