mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:15:49 +00:00
sonarqube-test3
This commit is contained in:
parent
09849e69c0
commit
44bd2d4e9e
1 changed files with 3 additions and 3 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue