Azure DevOps - Clean build directory

0 votes
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.
Mar 20, 2022 in Other DevOps Questions by Kichu
• 19,050 points
1,473 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
0 answers
0 votes
0 answers
0 votes
0 answers

Is there a way to embed a framework for ios build in Azure DevOps?

I want to build an IPA package ...READ MORE

Mar 20, 2022 in Other DevOps Questions by Kichu
• 19,050 points
454 views
0 votes
0 answers
0 votes
1 answer
0 votes
0 answers

OWASP Zed Attack Proxy Scan in DevOps pipeline

I want to do the "Authenticated Scan" ...READ MORE

Mar 15, 2022 in DevOps Tools by Kichu
• 19,050 points
666 views
0 votes
0 answers
0 votes
0 answers

Multiple YAML build pipelines in Azure DevOps

Using the new YAML way I want ...READ MORE

Mar 15, 2022 in DevOps Tools by Kichu
• 19,050 points
918 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP