This commit is contained in:
Yadciel 2023-05-11 19:55:14 +02:00
parent 6042fa2fac
commit 63044ece48

View File

@ -22,20 +22,22 @@ pipeline {
rem Output a success message
echo Resources folder was successfully moved to the dist folder.
"""
}
}
stage('SCM') {
steps {
checkout scm
}
}
stage('SCM') {
steps {
checkout scm
}
stage('SonarQube Analysis') {
steps {
def scannerHome = tool 'SQ';
withSonarQubeEnv(installationName: 'SQ') {
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
stage('SonarQube Analysis') {
steps {
script {
def scannerHome = tool(name: 'SQ');
withSonarQubeEnv(installationName: 'SQ') {
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
}
}
}