diff --git a/src/backend/ci/core/process/biz-engine/src/main/kotlin/com/tencent/devops/process/engine/control/command/stage/impl/CheckPauseReviewStageCmd.kt b/src/backend/ci/core/process/biz-engine/src/main/kotlin/com/tencent/devops/process/engine/control/command/stage/impl/CheckPauseReviewStageCmd.kt index be87abcbd57..413e99e960b 100644 --- a/src/backend/ci/core/process/biz-engine/src/main/kotlin/com/tencent/devops/process/engine/control/command/stage/impl/CheckPauseReviewStageCmd.kt +++ b/src/backend/ci/core/process/biz-engine/src/main/kotlin/com/tencent/devops/process/engine/control/command/stage/impl/CheckPauseReviewStageCmd.kt @@ -84,7 +84,6 @@ class CheckPauseReviewStageCmd( LOG.info("ENGINE|${event.buildId}|${event.source}|STAGE_QUALITY_CHECK_FAILED|${event.stageId}") // TODO 暂时只处理准入,后续需要兼容准出 commandContext.stage.checkIn?.status = BuildStatus.QUALITY_CHECK_FAIL.name - commandContext.buildStatus = BuildStatus.QUALITY_CHECK_FAIL commandContext.latestSummary = "s(${stage.stageId}) failed with QUALITY_CHECK_IN" commandContext.cmdFlowState = CmdFlowState.FINALLY return 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 5ef511e3b3d..2c2a8ec6c8a 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 @@ -148,7 +148,8 @@ class UpdateStateForStageCmdFinally( private fun updateStageStatus(commandContext: StageContext) { val event = commandContext.event // 更新状态 - pipelineStageService.updateStageStatus(buildId = event.buildId, + pipelineStageService.updateStageStatus( + buildId = event.buildId, stageId = event.stageId, buildStatus = commandContext.buildStatus, checkIn = commandContext.stage.checkIn,