sonarqube-test3

This commit is contained in:
Srinath 2021-06-06 20:11:52 +05:30
parent 09849e69c0
commit 44bd2d4e9e

4
Jenkinsfile vendored
View file

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