Skip to content

Commit

Permalink
【PAC】feat:支持从代码库维度查看对应的代码库事件 #8122
Browse files Browse the repository at this point in the history
  • Loading branch information
mingshewhe committed Nov 18, 2023
1 parent b53b06c commit ffb7dd1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class PipelineWebhookUpgradeService(
var findResult = false
for (element in elements) {
val (elementScmType, elementEventType, elementRepositoryConfig) =
RepositoryConfigUtils.buildWebhookConfig(element, params) ?: continue
RepositoryConfigUtils.buildWebhookConfig(element, params)
val usedKey = "${pipelineId}_${element.id!!}"
if (webhookRepositoryConfig.getRepositoryId() == elementRepositoryConfig.getRepositoryId() &&
elementScmType == repositoryType &&
Expand Down Expand Up @@ -231,6 +231,7 @@ class PipelineWebhookUpgradeService(
}
}

@Suppress("NestedBlockDepth")
private fun PipelineWebhook.doUpdateWebhookSecret(
pipelines: MutableMap<String, List<Element>>,
pipelineVariables: HashMap<String, Map<String, String>>
Expand Down

0 comments on commit ffb7dd1

Please sign in to comment.