Commit 1edfc256 by Administrator

Update Jenkinsfile

parent 35e85d01
Pipeline #83 passed with stage
in 4 seconds
node { node {
stage('build') { stage('SonarQube analysis') {
when { branch 'develop' } def scannerHome = tool 'sonarscanner';
def sonarqubeScannerHome = tool name: 'sonarscanner'
withSonarQubeEnv('sonar') { 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