mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:15:49 +00:00
sonarqube-test2
This commit is contained in:
parent
ba2021fdfd
commit
09849e69c0
1 changed files with 2 additions and 2 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+
|
||||
sh 'mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.6:sonar'
|
||||
// requires SonarQube Scanner for Maven 3.6.3
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue