Question, Bug, or Feature?
Type: Bug
Enter Task Name: Cache
Azure Pipelines
Cache task ignore the .artifactignore file when creating the cached set of files.
e.g.:
this build did not exclude any file when creating the cache:
Hi @lukka - Thanks for reminding us of this. For now, you can fall back to old behavior by setting the variable AZP_CACHING_CONTENT_FORMAT to Files.
I think we should work on the glob pattern for input path - https://github.com/microsoft/azure-pipelines-tasks/issues/11219 , which will encompass the functionality that .artifactignore provides.
Hi @lukka - We are going to track this here - https://github.com/microsoft/azure-pipelines-tasks/issues/11219 - support for globing for caching task.
Thanks.
Most helpful comment
Hi @lukka - Thanks for reminding us of this. For now, you can fall back to old behavior by setting the variable
AZP_CACHING_CONTENT_FORMATtoFiles.