Commit 1ab76b85 authored by wentao.suo's avatar wentao.suo

fix

parent 3fb51f7f
......@@ -37,17 +37,21 @@ def call(body) {
}
node{
dir(GIT_REPO_NAME){
currentPath = sh (script: 'pwd',returnStdout: true).trim()
stage("SonarQube Quality Gate"){
try {
dir(GIT_REPO_NAME){
currentPath = sh (script: 'pwd',returnStdout: true).trim()
stage("SonarQube Quality Gate"){
_stage.sonaar_check(GIT_REPO_NAME,GIT_BRANCH,currentPath)
_stage.sonaar_check(GIT_REPO_NAME,GIT_BRANCH,currentPath)
}
stage("callback"){
_stage.callback_pipes(callbackHost,TASK_INDEX)
}
stage("callback"){
_stage.callback_pipes(callbackHost,TASK_INDEX)
}
}
} catch (err) {
throw err
}
}
......
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