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
// Update the build object when it progress to a next state or the reason for
180
-
// the current state changed.
181
-
if (!common.HasBuildPodNameAnnotation(build) ||build.Status.Phase!=nextStatus||build.Status.Phase==buildapi.BuildPhaseFailed) &&!buildutil.IsBuildComplete(build) {
185
+
// the current state changed. Do not touch builds that were marked failed
186
+
// because we'd potentially be overwriting build state information set by the
187
+
// build pod directly.
188
+
if (!common.HasBuildPodNameAnnotation(build) ||build.Status.Phase!=nextStatus) &&build.Status.Phase!=buildapi.BuildPhaseFailed {
0 commit comments