Commit 9d6ab809 authored by Marcelo Dalmao's avatar Marcelo Dalmao

Update Jenkinsfile

parent 266e7b7d
...@@ -8,3 +8,15 @@ pipeline { ...@@ -8,3 +8,15 @@ pipeline {
} }
} }
} }
node {
stage('SCM') {
checkout scm
}
stage('SonarQube Analysis') {
def scannerHome = tool 'SonarScanner';
withSonarQubeEnv() {
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment