diff --git a/Jenkinsfile b/Jenkinsfile index 3072e893a..dd92f79a9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,5 +13,11 @@ pipeline{ sh 'mvn package' } } + stage('Sonar Cloud Analysis'){ + steps{ + withSonarQubeEnv('SONAR_CLOUD') + sh 'mvn clean verify sonar:sonar -Dsonar.organization=springgit -Dsonar.projectKey=springgit' + } + } } } \ No newline at end of file