mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
test2
This commit is contained in:
parent
f82e824b33
commit
288c879476
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ node {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
stage('SonarQube Analysis') {
|
stage('SonarQube Analysis') {
|
||||||
|
environment{
|
||||||
|
SCANNER_HOME = tool 'sonar-scanner'
|
||||||
|
}
|
||||||
def mvn = tool 'M3';
|
def mvn = tool 'M3';
|
||||||
withSonarQubeEnv("sq1") {
|
withSonarQubeEnv("sq1") {
|
||||||
sh "${mvn}/bin/mvn sonar:sonar -Dsonar.projectKey=Web -Dsonar.projectName='Web'"
|
sh "${mvn}/bin/mvn sonar:sonar -Dsonar.projectKey=Web -Dsonar.projectName='Web'"
|
||||||
|
|
Loading…
Reference in a new issue