When a release has successfully deployed to PRODUCTION environment, we wanted to keep that release defintion and all its associated builds forever. This Release task will automate the process.
- 1.0.x - Initial release
- 2.0.x - Updated code to work with VSTS also
This task sets the 'keep forever' retension flag on a Release and its all associated builds. It takes one parameter, the build selection mode, set to either:
- Select only the primary build associated with the release (default)
- All the build artifacts associated with the release
- (Advanced) Use use build agents default credentials as opposed to agent token - usually only every needed for TFS usage