mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +00:00
complete static test
This commit is contained in:
parent
ff9200da70
commit
f57ab57ed4
1 changed files with 2 additions and 4 deletions
|
@ -14,11 +14,9 @@ node {
|
|||
environment{
|
||||
SCANNER_HOME = tool 'sonar-scanner'
|
||||
}
|
||||
// env.NODEJS_HOME = "${tool 'nodejs'}"
|
||||
// env.PATH = "${env.NODEJS_HOME}/bin:${env.PATH}"
|
||||
env.NODEJS_HOME = "${tool 'nodejs'}"
|
||||
env.PATH = "${env.NODEJS_HOME}/bin:${env.PATH}"
|
||||
def mvn = tool 'M3';
|
||||
def NODEJS_HOME = tool "nodejs"
|
||||
def PATH = "${NODEJS_HOME}/bin:${PATH}"
|
||||
withSonarQubeEnv("sq1") {
|
||||
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