Skip to content

Commit

Permalink
feat:Job 并发支持 Code 配置 TencentBlueKing#10860
Browse files Browse the repository at this point in the history
  • Loading branch information
yongyiduan committed Sep 10, 2024
1 parent f1a372b commit f08b162
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,14 @@ class ContainerTransfer @Autowired(required = false) constructor(
poolName = transferCache.getThirdPartyAgent(
poolType = JobRunsOnPoolType.ENV_ID,
userId = userId,
projectId = envProjectId ?: projectId,
projectId = envProjectId?.ifBlank { null } ?: projectId,
value = poolName
) ?: throw PipelineTransferException(
CommonMessageCode.DISPATCH_NOT_SUPPORT_TRANSFER,
arrayOf("envId: $poolName")
)
}

JobRunsOnPoolType.AGENT_REUSE_JOB.name -> {
nodeName = null
poolName = null
Expand Down

0 comments on commit f08b162

Please sign in to comment.