This commit is contained in:
Srinath 2021-06-06 23:13:00 +05:30
parent dd8693bc8e
commit c363f89ac9

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