0

I have browser cache issue as from 1st build to 30 builds all the recent files are been storing in the path which are not been removed. How can I achieve when the build is successful previous file should be deleted from the location and new build files to be added.

Your inputs are Appreciated.

May M
  • 1
  • 6
  • Could you share your azure-pipelines.yml? – Melissa Aug 08 '21 at 01:33
  • if the files are inside a directory of the pipeline-agent you can set-up the clean-property of your pipeline like this -> https://stackoverflow.com/a/62690662/6593272 – D.J. Aug 12 '21 at 05:50
  • If the files are outside of the pipeline-agent you could add a powershell-task to your pipeline that cleans up the location – D.J. Aug 12 '21 at 05:51

0 Answers0