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

View File

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