Commit 83f687ba by Administrator

Update Jenkinsfile

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