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

fix

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