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

fix

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