diff --git a/Jenkinsfile b/Jenkinsfile index 9ff9031e0..03bb96a5b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,10 +20,10 @@ pipeline { stage ("CodeScaning"){ environment { SONAR_HOME = tool 'sonar-scan' - } + } steps{ withSonarQubeEnv('SonarServer') { - sh '''$SCANNER_HOME/bin/sonar-scanner \ + sh '''$SONAR_HOME/bin/sonar-scanner \ -Dsonar.projectKey=myPETC \ -Dsonar.projectName=mypetclinc \ -Dsonar.sources=. \