Adding a retention policy

A retention policy will enable you to perform automatic cleanup of your builds to do this click on the new button in the upper right section and you will be prompted witht the following dialog:

AddPolicy.jpg

There are three inputs that you can give.
  • Build Status can be on of the following (this input decides which builds get affected determined by their result status)
    1. Any
    2. BuildFailed
    3. BuildStopped
    4. BuildSucceded
  • Build Quality can be on of the following (this input decides which builds get affected determined by their build quality)
    1. Any
    2. Unexamined
    3. UnderInvestigation
    4. Released
    5. Rejected
    6. ReadyforInitialTest
    7. ReadyforDeployment
    8. InitialTestPassed
    9. LabTestPassed
    10. UserAcceptanceTestsPassed
  • Rentention Type can be on of the followin (this input decides how to interpret the third input)
    1. Builds (when the retention policy is executed it will determine how many build to purge based on the number of builds that exists)
    2. Days (will only purge builds older than the number of days specified)
  • Quantity here you specify the ammount of days to keep or the ammound of builds to keep based on the retention type given

Example:

Build Status = BuildSucceded
Build Quality = Any
Retention Type = Builds
Quantity = 5

This input will make sure you only have the latest five succeded builds for the build type in question.

Last edited Oct 14, 2007 at 7:39 PM by PeterBlomqvist, version 5

Comments

No comments yet.