diff --git a/src/backend/ci/core/dispatch-docker/biz-dispatch-docker/src/main/kotlin/com/tencent/devops/dispatch/docker/listener/AgentLessListener.kt b/src/backend/ci/core/dispatch-docker/biz-dispatch-docker/src/main/kotlin/com/tencent/devops/dispatch/docker/listener/AgentLessListener.kt index abae0d969b6..b163d3b2d89 100644 --- a/src/backend/ci/core/dispatch-docker/biz-dispatch-docker/src/main/kotlin/com/tencent/devops/dispatch/docker/listener/AgentLessListener.kt +++ b/src/backend/ci/core/dispatch-docker/biz-dispatch-docker/src/main/kotlin/com/tencent/devops/dispatch/docker/listener/AgentLessListener.kt @@ -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