From d9e72a9677b896058021913d412dad83503d79b6 Mon Sep 17 00:00:00 2001 From: xumia <59720581+xumia@users.noreply.github.com> Date: Thu, 10 Feb 2022 00:42:01 +0800 Subject: [PATCH] [ci]: Cleanup the workspace (#2142) * Cleanup the workspace. In some of the test cases, it is run as root, left some of the file cannot be removed during the checkout step. --- .azure-pipelines/test-docker-sonic-vs-template.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.azure-pipelines/test-docker-sonic-vs-template.yml b/.azure-pipelines/test-docker-sonic-vs-template.yml index 571473eca68a..195f7a333b03 100644 --- a/.azure-pipelines/test-docker-sonic-vs-template.yml +++ b/.azure-pipelines/test-docker-sonic-vs-template.yml @@ -24,6 +24,10 @@ jobs: pool: sonic-common steps: + - script: | + ls -A1 | xargs -I{} sudo rm -rf {} + displayName: "Clean workspace" + - checkout: self - task: DownloadPipelineArtifact@2 inputs: artifact: docker-sonic-vs