You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  • 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
    - to clean-up artifacts with 'file' as a part of the name, use the following syntax: +:**/file*.*
    - to exclude *.jar artifacts with 'file' as a part of the name from clean-up, use -:**/file*.jar.