sonarqube-test2

This commit is contained in:
Srinath 2021-06-06 14:56:00 +05:30
parent ba2021fdfd
commit 09849e69c0

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+
sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.6:sonar'
// requires SonarQube Scanner for Maven 3.6.3
sh 'mvn package'
}
}