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') { stage('SCM') {
checkout scm steps {
checkout scm
}
} }
stage('SonarQube Analysis') { stage('SonarQube Analysis') {
def scannerHome = tool 'SQ'; steps {
withSonarQubeEnv() { def scannerHome = tool 'SQ';
sh "${scannerHome}/bin/sonar-scanner" withSonarQubeEnv() {
sh "${scannerHome}/bin/sonar-scanner"
}
} }
} }
} }