mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
add build jar
This commit is contained in:
parent
63f78ee1bf
commit
53b64b87b2
1 changed files with 1 additions and 1 deletions
|
@ -68,10 +68,10 @@ pipeline {
|
||||||
SCANNER_HOME = tool 'sonar-scanner'
|
SCANNER_HOME = tool 'sonar-scanner'
|
||||||
NODEJS_HOME = "${tool 'nodejs'}"
|
NODEJS_HOME = "${tool 'nodejs'}"
|
||||||
PATH = "${env.NODEJS_HOME}/bin:${env.PATH}"
|
PATH = "${env.NODEJS_HOME}/bin:${env.PATH}"
|
||||||
|
def mvn = tool 'M3'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
withSonarQubeEnv('sq1') {
|
withSonarQubeEnv('sq1') {
|
||||||
def mvn = tool 'M3'
|
|
||||||
sh "${mvn}/bin/mvn sonar:sonar -Dsonar.projectKey=Web -Dsonar.projectName='Web' -Dsonar.sources=src/ -Dsonar.java.binaries=target/classes/ -Dsonar.exclusions=src/test/java/****/*.java"
|
sh "${mvn}/bin/mvn sonar:sonar -Dsonar.projectKey=Web -Dsonar.projectName='Web' -Dsonar.sources=src/ -Dsonar.java.binaries=target/classes/ -Dsonar.exclusions=src/test/java/****/*.java"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue