Skip to content

Commit

Permalink
fix(ci): Remove queued build on CIStage restart (spinnaker#4038)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonsie authored Jan 13, 2021
1 parent 90d3e0a commit f98134c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public void prepareStageForRestart(@Nonnull StageExecution stage) {
.computeIfAbsent("restartDetails", k -> new HashMap<String, Object>());
restartDetails.put("previousBuildInfo", buildInfo);
}
stage.getContext().remove("queuedBuild");
stage.getContext().remove("buildInfo");
stage.getContext().remove("buildNumber");
}
Expand Down

0 comments on commit f98134c

Please sign in to comment.