Clean-up in TeamCity is a feature allowing automatic deletion of data belonging to old builds.
Since TeamCity 9.0, projectProject-related clean-up settings are configured in the Project Settings (not in the prior to TeamCity 9.0, the Server Administration | Clean-up Settings section like in previous versionswas used).
The general clean-up configuration is available in the server Administration | Clean-up Settings.
The server settings are configured on the Administration | Server Administration | Clean-up Settings.
Since TeamCity 9.0, the The build history clean-up is run as a background process, which means that now there is no server maintenance down-time.
If you use the HSQL database, there is a short period of server unavailability when the HSQL database is being compacted.
- Artifact patterns. The artifacts matching the specified pattern will be included in/excluded from the clean-up. Use newline-delimited rules following Ant-like pattern. Example: to
- to clean-up artifacts with 'file' as a part of the name, use the following syntax:
- to exclude
*.jarartifacts with 'file' as a part of the name from clean-up, use