From c591efc4a140c7fd76a9bb58d679da7b5d0a1fe1 Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Wed, 3 Feb 2021 10:32:27 -0800 Subject: [PATCH] [ci]: further clean up the source directory before checkout Signed-off-by: Guohan Lu --- azure-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 44818016a9..8fd6af7ef6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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