[ci]: Cleanup fsroot before checking out code (#6639)

Signed-off-by: Guohan Lu <lguohan@gmail.com>
Co-authored-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
xumia 2021-02-03 23:27:51 +08:00 committed by GitHub
parent 80cd8c435f
commit aae96647ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,9 @@ stages:
displayName: "broadcom"
timeoutInMinutes: 600
steps:
- script: |
sudo rm -rf fsroot
displayName: 'Cleanup'
- checkout: self
clean: true
submodules: recursive
@ -55,6 +58,9 @@ stages:
displayName: "mellanox"
timeoutInMinutes: 600
steps:
- script: |
sudo rm -rf fsroot
displayName: 'Cleanup'
- checkout: self
clean: true
submodules: recursive
@ -81,6 +87,9 @@ stages:
displayName: "kvm"
timeoutInMinutes: 600
steps:
- script: |
sudo rm -rf fsroot
displayName: 'Cleanup'
- checkout: self
clean: true
submodules: recursive