You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After our Microsoft hosted build agent upgraded to 4.253.0, it stopped producing artifacts, and we traced it back to our DeleteFiles task no longer respecting the exclusion filters we added. We found that this was because the paths being constructed were adding a "." to the beginning of the exclusion paths.
Current agent version: '4.253.0'
Operating System
Microsoft Windows Server 2022
10.0.20348
Environment type (Please select at least one enviroment where you face this issue)
Self-Hosted
Microsoft Hosted
VMSS Pool
Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2022
Version controll system
git
Relevant log output
*These are also included in issue linked above:
Contents output:
##[debug]Contents=**/*!favicon.png
!lib/DownloadManager/**/*!lib/EtrieveFileAgent/**/*
patterns output:
##[debug]patterns: D:\a\1\s\Content\Projects\Source\Web\_Site\ui\**\*,.\!D:\a\1\s\Content\Projects\Source\Web\_Site\ui\favicon.png,.\!D:\a\1\s\Content\Projects\Source\Web\_Site\ui\lib\DownloadManager\**\*,.\!D:\a\1\s\Content\Projects\Source\Web\_Site\ui\lib\EtrieveFileAgent\**\*
example of pattern search:
##[debug]pattern: '.\!D:\a\1\s\Content\Projects\Source\Web\_Site\ui\favicon.png'##[debug]expanding braces##[debug]pattern: './!D:/a/1/s/Content/Projects/Source/Web/_Site/ui/favicon.png'##[debug]applying include pattern against original list##[debug]0 matches
The text was updated successfully, but these errors were encountered:
cwatson-sd
changed the title
[BUG]: Azure devops task not respecting exclusion filters after build agent upgrade
[BUG]: Azure devops task not respecting exclusion filters after build agent upgrade to 4.253.0
Mar 26, 2025
What happened?
After our Microsoft hosted build agent upgraded to 4.253.0, it stopped producing artifacts, and we traced it back to our DeleteFiles task no longer respecting the exclusion filters we added. We found that this was because the paths being constructed were adding a "." to the beginning of the exclusion paths.
For exact description of issue see this issue we opened in the azure-pipelines-tasks repo.
We believe it is because of the upgrade to Node 20 in 4.253.0 that included this change: nodejs/node@42d5821873?diff=split#diff-092f2be30e312ebf7517f3d5f08b4c8d38a4bea3449ab15eb87f408a8f301dff
Versions
Current agent version: '4.253.0'
Operating System
Microsoft Windows Server 2022
10.0.20348
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2022
Version controll system
git
Relevant log output
The text was updated successfully, but these errors were encountered: