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
// Check that all commit statuses has identical pipeline ID reflected by only one item in pipelineIds
456
+
iflen(pipelineIds) ==1 {
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])
458
+
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)
463
+
464
+
// Set the pipeline ID from the latest commit status
0 commit comments