Skip to content

Commit

Permalink
feat: 社区版质量红线支持CodeCC和三方插件 TencentBlueKing#5836
Browse files Browse the repository at this point in the history
  • Loading branch information
JamiKX1 committed May 26, 2022
1 parent d87aae9 commit f898e45
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,8 @@ class QualityRuleCheckService @Autowired constructor(

private fun getDetailMsg(record: QualityRuleInterceptRecord, params: Map<String, String>): String {
// codecc跳到独立入口页面
return if (CodeccUtils.isCodeccAtom(record.indicatorType)) {
return if (CodeccUtils.isCodeccAtom(record.indicatorType) ||
CodeccUtils.isCodeccCommunityAtom(record.indicatorType)) {
val projectId = params["projectId"] ?: ""
val pipelineId = params["pipelineId"] ?: ""
val buildId = params["buildId"] ?: ""
Expand Down

0 comments on commit f898e45

Please sign in to comment.