To set the retention period for a Build, do the following:
In the Administration module, go to Xray | Settings | General and click Indexed Resources. Select the Builds tab.
Click the Set Retention icon next to the Build you want to configure.
Set the retention period. The default is 15 days.