This commit is contained in:
Srinath 2021-06-06 22:47:48 +05:30
parent 44bd2d4e9e
commit 1754b0b79b

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-test') { withSonarQubeEnv('mytest') {
// 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'
} }