awslabs / aws-codedeploy-plugin

Jenkins plugin for AWS CodeDeploy
Apache License 2.0
153 stars 131 forks source link

Old Builds #55

Closed SonyDavid closed 6 years ago

SonyDavid commented 8 years ago

There doesn't seem to be a clean way to remove old builds. My initial thought was use the S3 versioning. However since the zip file upload is different name each time, that wont work. Also can't use time based removal as if you have a long period with no build, it might delete the current version.

gaohan137 commented 8 years ago

Maybe setup a cron job and also keep track of current version. Then remove other unnecessary files other than the current version?

tkokev commented 8 years ago

Would be cool if CodeDeploy had a native max build or age off feature.

gaohan137 commented 7 years ago

We'll bring this to our PM's attention and prioritize it accordingly. Thanks for the feature request!