Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【PAC】feat:支持从代码库维度查看对应的代码库事件 #8122 #9725

Merged
merged 12 commits into from
Nov 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
【PAC】feat:支持从代码库维度查看对应的代码库事件 #8122
mingshewhe committed Nov 27, 2023
commit 901be94b6cdb7210551e1365f398b134af87b110
Original file line number Diff line number Diff line change
@@ -170,7 +170,7 @@ abstract class PipelineBuildWebhookService : ApplicationContextAware {
) {
if (!builder.getEventSource().isNullOrBlank()) {
val eventSource = builder.getEventSource()!!
val eventType = triggerEvent.eventType
val eventType = triggerEvent.eventType
triggerEvent.eventSource = eventSource
triggerEvent.projectId = projectId
val eventId = repoEventIdMap[builder.getEventSource()] ?: run {
Original file line number Diff line number Diff line change
@@ -456,8 +456,7 @@ class PipelineTriggerEventService @Autowired constructor(
return with(eventParam) {
eventDesc = getI18nEventDesc(eventDesc)
buildNum = getBuildNumUrl()
// 一期暂不展示其他触发器的触发失败原因
reasonDetailList = listOf()
reasonDetailList = getI18nReasonDetailDesc(triggerType = triggerType, reasonDetailList = reasonDetailList)
reason = getI18nReason(eventParam.reason)
this
}