You are viewing the documentation of TeamCity 9.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.



Note, that same target_archive name can be used multiple times, for example:
*/*.html => report.zip
*/*.css => report.zip!/css/

Relative paths inside a zip archive can be used, if needed:
generated\Result\Sub1\Sub2 => archive.zip!generated/Result/Sub1

You can use build parameters in the artifacts specification. For example, use "mylib-%system.build.number%.zip" to refer to a file with the build number in the name.