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
When i had a similar issue in Azure DevOps pipelines, i got this error: Invalid ContentPath "C:/Program Files/Git/LICENSE.txt". ContentPath for purge action must be a relative path: either for a single resource "/path/pic.jpg" or a wild card "/path/*".
The fix was to choose PowerShell as Script type instead of Shell.
Describe the bug
az cdn endpoint purge ... --content-paths "/" "/*"
does not purge files in root directory.To Reproduce
"/"
and"/*"
, the only thing that worked was--contentpath "/testfile.txt"
)Expected behavior
Purging
/
or/*
should purge all files.Environment summary
azure-cli (2.0.39)
cdn (0.0.14)
The text was updated successfully, but these errors were encountered: