Skip to content

Commit

Permalink
Add Milestones
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Zegelstein <szegel@amazon.com>
  • Loading branch information
a-szegel committed Mar 28, 2024
1 parent 2366e2e commit f3f8615
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .aws_ci/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Use milestones to abort old builds when the user force pushes
def buildNumber = env.BUILD_NUMBER as int
if (buildNumber > 1) milestone(buildNumber - 1)
milestone(buildNumber)

pipeline {
agent {
ecs {
Expand Down

0 comments on commit f3f8615

Please sign in to comment.