[ci]: further clean up the source directory before checkout
Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
70a6d7618a
commit
c591efc4a1
@ -40,6 +40,8 @@ stages:
|
||||
steps:
|
||||
- script: |
|
||||
sudo rm -rf fsroot
|
||||
username=$(id -un)
|
||||
sudo chown -R ${username}.${username} .
|
||||
displayName: 'Cleanup'
|
||||
- checkout: self
|
||||
clean: true
|
||||
@ -68,6 +70,8 @@ stages:
|
||||
steps:
|
||||
- script: |
|
||||
sudo rm -rf fsroot
|
||||
username=$(id -un)
|
||||
sudo chown -R ${username}.${username} .
|
||||
displayName: 'Cleanup'
|
||||
- checkout: self
|
||||
clean: true
|
||||
@ -97,6 +101,8 @@ stages:
|
||||
steps:
|
||||
- script: |
|
||||
sudo rm -rf fsroot
|
||||
username=$(id -un)
|
||||
sudo chown -R ${username}.${username} .
|
||||
displayName: 'Cleanup'
|
||||
- checkout: self
|
||||
clean: true
|
||||
|
Loading…
Reference in New Issue
Block a user