Skip to content

Commit

Permalink
feat: stage支持质量红线的准入准出 TencentBlueKing#4732
Browse files Browse the repository at this point in the history
  • Loading branch information
royalhuang committed Aug 6, 2021
1 parent 81d70e6 commit 5567cea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ const val BS_MANUAL_START_STAGE = "manual_start_stage"
const val BS_CONTAINER_END_SOURCE_PREIX = "CONTAINER_END_"
const val BS_MANUAL_STOP_PAUSE_ATOM = "taskCancel_"
const val BS_STAGE_CANCELED_END_SOURCE = "STAGE_CANCELED_END"
const val BS_STAGE_QUALITY_CHECK_FAIL_END_SOURCE = "STAGE_CANCELED_END"
const val BS_STAGE_QUALITY_CHECK_FAIL_END_SOURCE = "STAGE_QUALITY_CHECK_FAIL_END"

const val BS_PAUSE_TASK = "_bkTaskPauseTag_"
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class CheckPauseReviewStageCmd(
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
commandContext.cmdFlowState = CmdFlowState.CONTINUE
return
}

Expand Down

0 comments on commit 5567cea

Please sign in to comment.