Skip to content

Commit

Permalink
General: Sonarqube fix scannerHome def #2
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed May 11, 2018
1 parent 2489916 commit b5c715f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!groovy
def name = 'lunr'
def env = 'm2mobi'
def scannerHome = tool 'linux scanner';

def ant_sh(String stage){
sh "/bin/ant ${stage}"
Expand Down Expand Up @@ -76,7 +77,6 @@ pipeline {
parallel (
sonarQube: {
withSonarQubeEnv('M2mobi') {
def scannerHome = tool 'linux scanner';
sh "${scannerHome}/bin/sonar-scanner -Dsonar.projectKey=php:${name} -Dsonar.sources=src/ -Dsonar.php.tests.reportPath=build/logs/junit.xml -Dsonar.php.coverage.reportPaths=build/logs/clover.xml"
}
},
Expand Down

0 comments on commit b5c715f

Please sign in to comment.