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

fix(3230): fix assigned remote trigger events #3231

Merged
merged 2 commits into from
Oct 24, 2024
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
update
yakanechi committed Oct 24, 2024
commit 0b4369c6334ec92257292861f8dff5c5ce2efd4e
3 changes: 1 addition & 2 deletions plugins/builds/index.js
Original file line number Diff line number Diff line change
@@ -255,11 +255,10 @@ async function triggerNextJobs(config, app) {

// Restart case
if (isRestart) {
// 'joinedPipeline.event.id' is restart event. not group event.
// 'joinedPipeline.event.id' is restart event, not group event.
const groupEvent = await eventFactory.get({ id: joinedPipeline.event.id });

externalEventConfig.groupEventId = groupEvent.groupEventId;
// externalEventConfig.groupEventId = joinedPipeline.event.id;
externalEventConfig.parentBuilds = buildsToRestart[0].parentBuilds;
} else {
const sameParentEvents = await getSameParentEvents({