ArchiveFiles@1 is retired: replace it with ArchiveFiles@2
The short answer
- Retirement date
- Removal date
- . Pipelines that still use it fail after removal.
- Replacement
ArchiveFiles@2- Kind of migration
- replacement with input changes
- Automatic rewrite
- Not yet. Automatic rewrite is planned for this kind of task (replacement with input changes). Today, trasloco modernize --check finds the step and you change it by hand.
- Recommended action
- Replace ArchiveFiles@1 with ArchiveFiles@2 and review the replacement inputs before updating the pipeline.
Official sources
- Official task retirement announcement
- Task definition: ArchiveFiles (task.json)
- Task definition: ArchiveFilesV2 (task.json)
Last verified:
Why does my pipeline show a retirement error for ArchiveFiles@1?
On , Azure Pipelines shows a retirement error for ArchiveFiles@1, but the run does not fail. On , pipelines that still use ArchiveFiles@1 fail.
Find it in your pipelines
With trasloco:
trasloco modernize --check
Install trasloco from the latest release.
With plain grep, nothing to install:
grep -rniwF 'ArchiveFiles@1' --include='*.yml' --include='*.yaml' .
How to migrate
Replace ArchiveFiles@1 with ArchiveFiles@2 and review the replacement inputs before updating the pipeline.
The task definition of the replacement is linked under official sources above.
ArchiveFiles@1 retirement FAQ
Is ArchiveFiles@1 deprecated?
Yes. ArchiveFiles@1 is retired on 2026-10-15. Azure Pipelines shows a retirement error, but the run does not fail until removal.
When does ArchiveFiles@1 stop working?
ArchiveFiles@1 is removed on 2027-03-15. Pipelines that still use it fail after removal.
What should I use instead of ArchiveFiles@1?
Replace ArchiveFiles@1 with ArchiveFiles@2.
Related retired tasks
- AzureFunction@0 — replacement with input changes
- CacheBeta@0 — replacement with input changes
- cURLUploader@1 — replacement with input changes
- DotNetCoreCLI@0 — replacement with input changes
- DotNetCoreCLI@1 — replacement with input changes