sonarqube-test1

This commit is contained in:
Srinath 2021-06-06 14:51:39 +05:30
parent 336e624355
commit ba2021fdfd

4
Jenkinsfile vendored
View file

@ -10,8 +10,8 @@ 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-test') { withSonarQubeEnv('sonar-test') {
// requires SonarQube Scanner for Maven 3.2+ // requires SonarQube Scanner for Maven 3.6+
sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar' sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.6:sonar'
} }
} }