Skip to content

Commit

Permalink
Merge pull request #11130 from JamiKX1/bug_11127
Browse files Browse the repository at this point in the history
bug: 使用流水线变量传入多个审核人时,审批不生效 #11127
  • Loading branch information
bkci-bot authored Nov 5, 2024
2 parents 0a337e6 + c0122f6 commit c8fe512
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,11 @@ class PipelineBuildQualityService(
taskId = taskId
).data ?: setOf()

auditUserSet.map { buildVariableService.replaceTemplate(projectId, buildId, it) }.toSet()
auditUserSet.map {
buildVariableService.replaceTemplate(projectId, buildId, it)
}.flatMap {
it.split(";", ",")
}.toSet()
} catch (ignore: Exception) {
logger.error("quality get audit user list fail: ${ignore.message}", ignore)
setOf()
Expand Down

0 comments on commit c8fe512

Please sign in to comment.