Commit 1edfc256 by Administrator

Update Jenkinsfile

parent 35e85d01
Pipeline #83 passed with stage
in 4 seconds
node {
stage('build') {
when { branch 'develop' }
def sonarqubeScannerHome = tool name: 'sonarscanner'
stage('SonarQube analysis') {
def scannerHome = tool 'sonarscanner';
withSonarQubeEnv('sonar') {
sh "${sonarqubeScannerHome}/bin/sonar-scanner"
sh "${scannerHome}/bin/sonar-scanner"
}
}
}
\ No newline at end of file
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