This commit is contained in:
Zohar 2024-04-07 18:13:18 -04:00
parent f82e824b33
commit 288c879476

View file

@ -3,6 +3,9 @@ node {
checkout scm
}
stage('SonarQube Analysis') {
environment{
SCANNER_HOME = tool 'sonar-scanner'
}
def mvn = tool 'M3';
withSonarQubeEnv("sq1") {
sh "${mvn}/bin/mvn sonar:sonar -Dsonar.projectKey=Web -Dsonar.projectName='Web'"