Changing the approach to snag the workspace path.

This commit is contained in:
Christopher Jones 2017-09-07 10:24:08 -05:00
parent b11aad0a20
commit b89f313ee5

6
Jenkinsfile vendored
View file

@ -14,7 +14,7 @@ pipeline {
stage('SonarQube Analysis') { stage('SonarQube Analysis') {
steps { steps {
///* /*
script { script {
scannerHome = tool 'SonarQube_Scanner_3.0.3.778'; scannerHome = tool 'SonarQube_Scanner_3.0.3.778';
} }
@ -23,8 +23,8 @@ pipeline {
echo "${scannerHome}" echo "${scannerHome}"
sh "${scannerHome}/bin/sonar-scanner" 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"
} }
} }