mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25:50 +00:00
Merge pull request #4 from liatrio/sonar-runner
call installed sonar-runner
This commit is contained in:
commit
fe664b398b
1 changed files with 1 additions and 4 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -16,10 +16,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage ('Sonar') {
|
stage ('Sonar') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
sh '/var/jenkins_home/sonar/bin/sonar-runner'
|
||||||
scannerHome = tool 'Sonar'
|
|
||||||
}
|
|
||||||
sh "${scannerHome}/bin/sonar-scanner"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue