undo
This commit is contained in:
parent
4e84473dff
commit
207fd7e7ca
16
jenkinsfile
16
jenkinsfile
@ -24,21 +24,5 @@ pipeline {
|
||||
"""
|
||||
}
|
||||
}
|
||||
stage('SCM') {
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
stage('SonarQube Analysis') {
|
||||
steps {
|
||||
script {
|
||||
def scannerHome = tool 'SonarScanner'; // Use the name you configured in Jenkins
|
||||
withSonarQubeEnv(installationName: 'SQ') { // Use the same name here
|
||||
sh "${scannerHome}/bin/sonar-scanner"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user