7-Zip compression levels in Azure DevOps Archive Files task
In an attempt to make my artifacts smaller, I recently chose to use 7-Zip compression, or archiveType: 7z, in an Archive Files task of an Azure DevOps YAML pipeline. 7-Zip provides 5 compression levels: 1 (fastest), 3 (fast), 5 (normal), 7 (maximum) and 9 (ultra), as well as option 0, which doesn’t compress anything.
I like YAML pipelines, because they live in my repo and I can use templates. However, the online editing experience is not particularly great.