added envi sonar

This commit is contained in:
sridhar 2023-09-13 21:52:51 +05:30
parent 0e07794488
commit 5ba22faa68

2
Jenkinsfile vendored
View file

@ -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{