Commit 83f687ba by Administrator

Update Jenkinsfile

parent 09d2c7c2
Pipeline #80 passed with stage
in 7 seconds
...@@ -3,8 +3,9 @@ pipeline { ...@@ -3,8 +3,9 @@ pipeline {
stages { stages {
stage('build') { stage('build') {
when { branch 'develop' } when { branch 'develop' }
steps { def sonarqubeScannerHome = tool name: 'sonarscanner'
sh 'sh check_java.sh' withSonarQubeEnv('sonar') {
sh "${sonarqubeScannerHome}/bin/sonar-scanner"
} }
post { post {
success { success {
......
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