[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:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
sudo rm -rf fsroot
|
sudo rm -rf fsroot
|
||||||
|
username=$(id -un)
|
||||||
|
sudo chown -R ${username}.${username} .
|
||||||
displayName: 'Cleanup'
|
displayName: 'Cleanup'
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
@ -68,6 +70,8 @@ stages:
|
|||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
sudo rm -rf fsroot
|
sudo rm -rf fsroot
|
||||||
|
username=$(id -un)
|
||||||
|
sudo chown -R ${username}.${username} .
|
||||||
displayName: 'Cleanup'
|
displayName: 'Cleanup'
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
@ -97,6 +101,8 @@ stages:
|
|||||||
steps:
|
steps:
|
||||||
- script: |
|
- script: |
|
||||||
sudo rm -rf fsroot
|
sudo rm -rf fsroot
|
||||||
|
username=$(id -un)
|
||||||
|
sudo chown -R ${username}.${username} .
|
||||||
displayName: 'Cleanup'
|
displayName: 'Cleanup'
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
|
Loading…
Reference in New Issue
Block a user