I am using a self-hosted agent for running my build and release pipelines. when I run any build and it failed due to some issues in the pipeline. The cloned branch from remote sits in the _work directory. The second run also picks up the same work directory, and I have checked manually from the agent _work directory no new directory was cloned. I can also verify from Azure Pipeline logs they are using the same old directory. I went into the old directory(i.e. /home/user/_work/13) and manually delete those 13 directories then azure picked it up the new folder said 14 under _work, and I could see the latest cloned code from the remote.