This commit is contained in:
Yadciel 2023-05-11 19:51:16 +02:00
parent 63f2b48b96
commit fe911b62bd

View File

@ -25,12 +25,16 @@ pipeline {
}
}
stage('SCM') {
checkout scm
steps {
checkout scm
}
}
stage('SonarQube Analysis') {
def scannerHome = tool 'SQ';
withSonarQubeEnv() {
sh "${scannerHome}/bin/sonar-scanner"
steps {
def scannerHome = tool 'SQ';
withSonarQubeEnv() {
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
}