Search code examples
tfsrelease-managementtfsbuildms-release-management

Release Management sets builds to Retain Indefinitely


We are using Microsoft's Release Management tool for automating the deployment of our solution to our various dev servers. This tool is ideal for us because it can perform more complicated deployments that span multiple servers. In this sense, it is working fine and everything is deploying correctly.

A minor issue is that after Release Management automatically deploys a build, it sets the build to "Retain Indefinitely" which is indicated by the Lock icon. Since we are doing continuous deployment, we are retaining a large number of builds and the Build Definition's retention policy is overridden. I therefore have to go in periodically and highlight all of the previous builds and unselect Retain Indefinitely.

Because we are not deploying past dev with Release Management (we unfortunately aren't allowed to), we don't need to keep all of these dev builds around.

Is there a way to change Release Management so that it doesn't set builds to Retain Indefinitely?

Update: Since this is not currently possible, if you would like this feature, please vote for it on UserVoice: https://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/6537614-allow-retain-indefinitely-to-not-be-set


Solution

  • As of RM for TFS 2013.3, this is not possible. According to Teodora Stanev on this post, this is by design.

    Feel free to post a request on the Visual Studio UserVoice site