sonarqube-test

This commit is contained in:
Srinath 2021-06-06 14:48:07 +05:30
parent 3a3e0d2777
commit 336e624355

2
Jenkinsfile vendored
View file

@ -9,7 +9,7 @@ node {
} }
stage('SonarQube analysis') { stage('SonarQube analysis') {
// performing sonarqube analysis with "withSonarQubeENV(<Name of Server configured in Jenkins>)" // performing sonarqube analysis with "withSonarQubeENV(<Name of Server configured in Jenkins>)"
withSonarQubeEnv('SONAR-6.7.4') { withSonarQubeEnv('sonar-test') {
// requires SonarQube Scanner for Maven 3.2+ // requires SonarQube Scanner for Maven 3.2+
sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar' sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar'
} }