Skip to content

Commit

Permalink
[ci]: Cleanup the workspace (#2142)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
xumia authored Feb 9, 2022
1 parent 5e0c934 commit d9e72a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9e72a9

Please sign in to comment.