This commit is contained in:
Zohar 2024-04-07 18:55:55 -04:00
parent cf90c619c1
commit b230a25119

View file

@ -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';