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