diff --git a/Jenkinsfile b/Jenkinsfile index 5839fdfc5..733bc60a4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,9 +20,11 @@ pipeline{ } stage('SonarQube Scan') { steps { + withSonarQubeEnv('SONAR_CLOUD') { sh 'mvn clean package sonar:sonar -Dsonar.organization=springpetclinic -Dsonar.token=94fa8a4b44707c54a1aae9c4894e0cd8bf0d18d6 -Dsonar.projectKey=sridhardevops006' } } + } stage('nexus'){ steps{