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
cf90c619c1
commit
b230a25119
1 changed files with 1 additions and 4 deletions
|
@ -1,8 +1,4 @@
|
||||||
node {
|
node {
|
||||||
agent any
|
|
||||||
tools {
|
|
||||||
nodejs "node" // The name you gave in the Global Tool Configuration
|
|
||||||
}
|
|
||||||
stage('SCM') {
|
stage('SCM') {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
|
@ -13,6 +9,7 @@ node {
|
||||||
stage('SonarQube Analysis') {
|
stage('SonarQube Analysis') {
|
||||||
environment{
|
environment{
|
||||||
SCANNER_HOME = tool 'sonar-scanner'
|
SCANNER_HOME = tool 'sonar-scanner'
|
||||||
|
NODEJS_HOME = tool "node"
|
||||||
|
|
||||||
}
|
}
|
||||||
def mvn = tool 'M3';
|
def mvn = tool 'M3';
|
||||||
|
|
Loading…
Reference in a new issue