I have a task that creates a cache
- task: Cache@2
inputs:
key: 'sonarCache'
path: $(SONAR_CACHE)
cacheHitVar: CACHE_RESTORED
displayName: Cache Sonar packages
However, the cache got corrupted. So how do I run this pipeline while telling it to ignore any existing cache ?
For some reason, I cannot change the cache key sonarCache
There's currently no way to do this.
Here is what the documentation says:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With