mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
Changing the approach to snag the workspace path.
This commit is contained in:
parent
b11aad0a20
commit
b89f313ee5
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -14,7 +14,7 @@ pipeline {
|
|||
|
||||
stage('SonarQube Analysis') {
|
||||
steps {
|
||||
///*
|
||||
/*
|
||||
script {
|
||||
scannerHome = tool 'SonarQube_Scanner_3.0.3.778';
|
||||
}
|
||||
|
@ -23,8 +23,8 @@ pipeline {
|
|||
echo "${scannerHome}"
|
||||
sh "${scannerHome}/bin/sonar-scanner"
|
||||
}
|
||||
//*/
|
||||
//sonarqubeAnalysis "SonarQube_Scanner_3.0.3.778", "Staging", "${workspace}/sonar-project.properties"
|
||||
*/
|
||||
sonarqubeAnalysis "SonarQube_Scanner_3.0.3.778", "Staging", "${env.WORKSPACE}/sonar-project.properties"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue