Keep Build Artifacts Based on Size and Time

Hello Everyone,

I have a project that builds several artifacts. RIght now TeamCity is keeping the project's update setup files for 250 revisions. These files are small (only a few MB) so there's no problem keeping a bunch of them. I'd like to reconfigure the articifacts to include the project's main setup file (a self extracting exe) -- but the file is ~500 MB, so I can't keep it for that long. Ideally what I want is:

  1. Keep all *update*.exe files for 250 revisions
  2. Keep full_setup.exe for only 1 (or possibly 2) revisions


I went through the project build options and the artfacts configuration -- but I don't see anything that allows me to split it up in that way.

Any thoughts / ideas?

Thanks,

Dan

Please sign in to leave a comment.