{"id":17865,"date":"2016-07-12T07:50:09","date_gmt":"2016-07-12T00:50:09","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/?p=17865"},"modified":"2019-02-14T17:33:49","modified_gmt":"2019-02-15T01:33:49","slug":"archive-files-build-task-for-team-services","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/archive-files-build-task-for-team-services\/","title":{"rendered":"Create Archives in Team Services Builds and Releases"},"content":{"rendered":"<p>Team Services sprint 102 introduces a new build task, Archive Files.\u00a0\u00a0Use it to easily create archives during your Team Foundation Server (TFS) or Team Services continuous integration (CI) build process.\u00a0 The Archive Files\u00a0task is cross platform and uses native zip, tar, and 7-Zip\u00a0on Mac and Linux.\u00a0 For Windows, we bundled 7-Zip with the task and use it exclusively.\u00a0 On Linux and Mac build agent machines, 7-Zip must be pre-installed and in the path.\u00a0 You can archive anything supported by 7-Zip, which means you can create 7z, zip, wim, tar, tar.gz, tar.bz2, and tar.xz files on Windows, Linux, and Mac build machines.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/6\/2019\/05\/ArchiveFiles.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-17875\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2016\/07\/ArchiveFiles.png\" alt=\"ArchiveFiles\" width=\"989\" height=\"424\" \/><\/a><\/p>\n<p><iframe title=\"Team Services Archive Files Build Task\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/Bco-w6nvUxI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>The build task is\u00a0<a href=\"https:\/\/github.com\/Microsoft\/vsts-tasks\" target=\"_blank\">open sourced<\/a>, so feel free to use it\u00a0to create\u00a0your own build extensions. If you have any suggestions or issues, reach out to us on <a href=\"https:\/\/github.com\/Microsoft\/vsts-tasks\/issues\" target=\"_blank\">GitHub<\/a>.\u00a0 For more information about TFS and Team Services multi-platform support, visit <a href=\"http:\/\/java.visualstudio.com\" target=\"_blank\">java.visualstudio.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Team Services sprint 102 introduces a new build task, Archive Files.\u00a0\u00a0Use it to easily create archives during your Team Foundation Server (TFS) or Team Services continuous integration (CI) build process.\u00a0 The Archive Files\u00a0task is cross platform and uses native zip, tar, and 7-Zip\u00a0on Mac and Linux.\u00a0 For Windows, we bundled 7-Zip with the task and [&hellip;]<\/p>\n","protected":false},"author":195,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[253,226,1],"tags":[],"class_list":["post-17865","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-devops-server","category-ci","category-devops"],"acf":[],"blog_post_summary":"<p>Team Services sprint 102 introduces a new build task, Archive Files.\u00a0\u00a0Use it to easily create archives during your Team Foundation Server (TFS) or Team Services continuous integration (CI) build process.\u00a0 The Archive Files\u00a0task is cross platform and uses native zip, tar, and 7-Zip\u00a0on Mac and Linux.\u00a0 For Windows, we bundled 7-Zip with the task and [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/17865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/195"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=17865"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/17865\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=17865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=17865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=17865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}