r/azuredevops•
martiensk

How to delete folders on destination machine

Hi all. We have a hybrid .Net MVC system on a Windows server. CI/CD works well - it builds and deploys to IIS, at the same time building the front-end scripts and deploying that as well.

I am trying to create a pipeline to deploy only the front-end scripts, but am getting errors stating that the files on the destination machine already exist. What is the best way to go about clearing only the front-end source files from the destination server?

I have tried to configure the "Delete Files" task ut it looks like it deleted files in the source directory rather than the destination directory.

Posted Sep 16, 2022, 4:50 PM UTC

23
Loading comments…