forked from TencentBlueKing/bk-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:流水线/Job并发和排队数据落地 TencentBlueKing#10997
- Loading branch information
1 parent
2106854
commit b7d3dfd
Showing
20 changed files
with
457 additions
and
90 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...ain/kotlin/com/tencent/devops/common/event/enums/PipelineBuildStatusBroadCastEventType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.tencent.devops.common.event.enums | ||
|
||
enum class PipelineBuildStatusBroadCastEventType { | ||
BUILD_QUEUE, /*构建排队,包含并发超限时排队、并发组排队。*/ | ||
BUILD_START, /*构建开始,不包含并发超限时排队、并发组排队。*/ | ||
BUILD_END, /*构建结束*/ | ||
BUILD_STAGE_START, /*stage开始*/ | ||
BUILD_STAGE_END, /*stage结束*/ | ||
BUILD_JOB_QUEUE, /*job排队,包含互斥组排队、构建机复用互斥排队、最大job并发排队。*/ | ||
BUILD_JOB_START, /*job开始,不包含BUILD_JOB_QUEUE。如果job SKIP或没有可执行的插件,就不会有该事件。*/ | ||
BUILD_JOB_END, /*job结束,job SKIP或没有可执行的插件时会有该事件。*/ | ||
BUILD_AGENT_START, /*构建机启动,现在仅包含第三方构建机*/ | ||
BUILD_TASK_START, /*插件开始*/ | ||
BUILD_TASK_END, /*插件结束*/ | ||
BUILD_TASK_PAUSE; /*插件前置暂停*/ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.