From efbd5421cde5343f229540bc567dd2a3adcf571d Mon Sep 17 00:00:00 2001 From: royalhuang Date: Thu, 19 Aug 2021 13:26:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20stage=E6=94=AF=E6=8C=81=E8=B4=A8?= =?UTF-8?q?=E9=87=8F=E7=BA=A2=E7=BA=BF=E7=9A=84=E5=87=86=E5=85=A5=E5=87=86?= =?UTF-8?q?=E5=87=BA=20#4732=20=E7=BA=A2=E7=BA=BF=E6=8B=A6=E6=88=AA?= =?UTF-8?q?=E4=B8=8D=E5=BD=B1=E5=93=8D=E5=BD=93=E5=89=8Dstage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../command/stage/impl/UpdateStateForStageCmdFinally.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/ci/core/process/biz-engine/src/main/kotlin/com/tencent/devops/process/engine/control/command/stage/impl/UpdateStateForStageCmdFinally.kt b/src/backend/ci/core/process/biz-engine/src/main/kotlin/com/tencent/devops/process/engine/control/command/stage/impl/UpdateStateForStageCmdFinally.kt index c3e6ec53fe3..c3716095780 100644 --- a/src/backend/ci/core/process/biz-engine/src/main/kotlin/com/tencent/devops/process/engine/control/command/stage/impl/UpdateStateForStageCmdFinally.kt +++ b/src/backend/ci/core/process/biz-engine/src/main/kotlin/com/tencent/devops/process/engine/control/command/stage/impl/UpdateStateForStageCmdFinally.kt @@ -73,7 +73,8 @@ class UpdateStateForStageCmdFinally( } // #3138 stage cancel 不在此处理 更新状态&模型 @see PipelineStageService.cancelStage - if (event.source != BS_STAGE_CANCELED_END_SOURCE) { + if (event.source != BS_STAGE_CANCELED_END_SOURCE && + commandContext.buildStatus != BuildStatus.QUALITY_CHECK_FAIL) { updateStageStatus(commandContext = commandContext) }