Update jenkinsfile

This commit is contained in:
Daniele Gerbaldo 2024-03-23 23:59:33 +01:00 committed by GitHub
parent 9d42b56a02
commit 639ac16aba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ pipeline {
dir("${WORKSPACE}"){
// Run SonarQube analysis for Angular
script {
def scannerHome = tool name: 'angular-demo', type: 'hudson.plugins.sonar.SonarRunnerInstallation'
def scannerHome = tool name: 'spring-petclinic-hackathon-demo', type: 'hudson.plugins.sonar.SonarRunnerInstallation'
withSonarQubeEnv('sonar') {
sh "echo $pwd"
sh "${scannerHome}/bin/sonar-scanner"