You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Ensure that all commit statuses has identical pipeline ID reflected by only one pipeline ID
455
+
// Check that all commit statuses has identical pipeline ID reflected by only one item in pipelineIds
458
456
iflen(pipelineIds) ==1 {
459
457
logger.Info("Exactly one PipelineID found for commit %s and ref %s, setting new status PipelineID to %d", pull.HeadCommit, pull.HeadBranch, pipelineIds[0])
460
458
461
-
// Set the pipeline ID to the last pipeline that ran for the commit
459
+
// Set the pipeline ID to the only item in pipelineIds
logger.Warn("Commit %s has statuses from more than one PipelineID (ids=%v) for ref %s. Set PipelineID from the last commit status: %s", pull.HeadCommit, pipelineIds, pull.HeadBranch, commitStatuses[0].PipelineId)
466
463
467
-
// Set the pipeline ID to the last pipeline that ran for the commit
464
+
// Set the pipeline ID from the latest commit status
0 commit comments