Build Retention

Build Retention

I have a few questions about how Artifactory handles build retention that don't appear to be answered anywhere in the docs or forums...

1. I publish my build info via the REST API. Each publish call includes build retention rules. Are those rules applied to each build uniquely? Or to the group of builds based on the project name? Or to all builds in Artifactory?

2. Initially, all artifacts for a build are considered "snaphot" and the build retention is specific to pre-release artifacts. Later, a build that makes it through our SDLC will have it's artifacts promoted to our release repository at which point the build should follow different retention rules. How do I have different build retention rules for builds that have been promoted when they started out as snapshot?