Skip to content

Commit

Permalink
feat: stage支持质量红线的准入准出 TencentBlueKing#4732 红线拦截不影响当前stage
Browse files Browse the repository at this point in the history
  • Loading branch information
royalhuang committed Aug 19, 2021
1 parent 3e77d7e commit efbd542
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit efbd542

Please sign in to comment.