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

Update Jenkinsfile

parent 266e7b7d
...@@ -7,4 +7,16 @@ pipeline { ...@@ -7,4 +7,16 @@ pipeline {
} }
} }
} }
} }
\ No newline at end of file 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