diff --git a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/commit/check/QualityService.kt b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/commit/check/QualityService.kt index acd0c3e2630..df73c08f286 100644 --- a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/commit/check/QualityService.kt +++ b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/commit/check/QualityService.kt @@ -62,9 +62,9 @@ class QualityService @Autowired constructor( val projectId = event.projectId val pipelineId = event.pipelineId val buildId = event.buildId - val pipelineName = pipelineListFacadeService.getPipelineIdByNames( + val pipelineName = pipelineListFacadeService.getPipelineNameByIds( projectId = projectId, - pipelineNames = setOf(pipelineId), + pipelineIds = setOf(pipelineId), filterDelete = true )[pipelineId] ?: "" diff --git a/support-files/i18n/message_en_US.properties b/support-files/i18n/message_en_US.properties index b1761383204..30511ba8c65 100644 --- a/support-files/i18n/message_en_US.properties +++ b/support-files/i18n/message_en_US.properties @@ -485,3 +485,4 @@ TRIGGER_TYPE_REMOTE=Remote Trigger TRIGGER_SUCCESS=Trigger success TRIGGER_FAILED=Trigger failed TRIGGER_NOT_MATCH=Trigger not match +bkCiPipeline=Bk-ci pipeline \ No newline at end of file diff --git a/support-files/i18n/message_zh_CN.properties b/support-files/i18n/message_zh_CN.properties index f8daa03a879..d0222538a88 100644 --- a/support-files/i18n/message_zh_CN.properties +++ b/support-files/i18n/message_zh_CN.properties @@ -485,3 +485,4 @@ TRIGGER_TYPE_REMOTE=远程触发 TRIGGER_SUCCESS=触发成功 TRIGGER_FAILED=触发失败 TRIGGER_NOT_MATCH=触发器不匹配 +bkCiPipeline=蓝盾流水线 \ No newline at end of file diff --git a/support-files/i18n/misc/message_en_US.properties b/support-files/i18n/misc/message_en_US.properties index b0d953c5f4c..835b3f222b9 100644 --- a/support-files/i18n/misc/message_en_US.properties +++ b/support-files/i18n/misc/message_en_US.properties @@ -43,6 +43,5 @@ bkWarningMessageFromGrafana=Early warning information from Grafana 2113006=Url encoding error, err: bkAppScanCompleted=King Kong app scan completed bkBuildIdNotFound=Server internal exception. Construction of buildId= {0} was not found. -bkCiPipeline=Bk-ci pipeline bkPipelIneidNotFound=Server internal exception. Construction of pipelineId= {0} was not found. bkProjectManager=Project administrator diff --git a/support-files/i18n/misc/message_zh_CN.properties b/support-files/i18n/misc/message_zh_CN.properties index 300262da6ac..acc640450cf 100644 --- a/support-files/i18n/misc/message_zh_CN.properties +++ b/support-files/i18n/misc/message_zh_CN.properties @@ -43,7 +43,6 @@ bkWarningMessageFromGrafana=来自Grafana的预警信息 2113006=url编码错误, err: bkAppScanCompleted=金刚app扫描完成 bkBuildIdNotFound=服务端内部异常,buildId={0}的构建未查到 -bkCiPipeline=蓝盾流水线 bkPipelineIdNotFound=服务端内部异常,pipelineId={0}的构建未查到 bkProjectManager=项目管理员