Skip to content

Commit

Permalink
feat: 流水线Job配额管理 TencentBlueKing#5154
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyersong2 committed Oct 15, 2021
1 parent 44228c9 commit 867bc3f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class AgentLessListener @Autowired constructor(
// 不管shutdown成功失败,都要回收配额;这里回收job,将自动累加agent执行时间
jobQuotaService.removeRunningJob(
projectId = pipelineBuildLessDockerAgentShutdownEvent.projectId,
pipelineId = pipelineBuildLessDockerAgentShutdownEvent.pipelineId,
buildId = pipelineBuildLessDockerAgentShutdownEvent.buildId,
vmSeqId = pipelineBuildLessDockerAgentShutdownEvent.vmSeqId,
executeCount = pipelineBuildLessDockerAgentShutdownEvent.executeCount
Expand Down

0 comments on commit 867bc3f

Please sign in to comment.