From e806b2ed384fce2487562371fb32d9528d0c178a Mon Sep 17 00:00:00 2001 From: nicole mazzuca Date: Tue, 19 May 2020 12:23:39 -0700 Subject: [PATCH] [vcpkg CI] Clean git directory before clone (#11450) --- scripts/azure-pipelines/linux/azure-pipelines.yml | 2 ++ scripts/azure-pipelines/osx/azure-pipelines.yml | 2 ++ scripts/azure-pipelines/windows/azure-pipelines.yml | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/azure-pipelines/linux/azure-pipelines.yml b/scripts/azure-pipelines/linux/azure-pipelines.yml index 7120a9323a..67e9945a7f 100644 --- a/scripts/azure-pipelines/linux/azure-pipelines.yml +++ b/scripts/azure-pipelines/linux/azure-pipelines.yml @@ -6,6 +6,8 @@ jobs: - job: x64_linux pool: name: ${{ parameters.poolName }} + workspace: + clean: resources timeoutInMinutes: 1440 # 1 day steps: - bash: | diff --git a/scripts/azure-pipelines/osx/azure-pipelines.yml b/scripts/azure-pipelines/osx/azure-pipelines.yml index 2427a899e7..b06bffb6f9 100644 --- a/scripts/azure-pipelines/osx/azure-pipelines.yml +++ b/scripts/azure-pipelines/osx/azure-pipelines.yml @@ -7,6 +7,8 @@ jobs: pool: name: vcpkgAgentPool demands: Agent.OS -equals Darwin + workspace: + clean: resources timeoutInMinutes: 1440 # 1 day steps: - bash: | diff --git a/scripts/azure-pipelines/windows/azure-pipelines.yml b/scripts/azure-pipelines/windows/azure-pipelines.yml index 559037e3b9..71ffc78289 100644 --- a/scripts/azure-pipelines/windows/azure-pipelines.yml +++ b/scripts/azure-pipelines/windows/azure-pipelines.yml @@ -6,7 +6,8 @@ jobs: - job: ${{ parameters.jobName }} pool: name: ${{ parameters.poolName }} - + workspace: + clean: resources timeoutInMinutes: 1440 # 1 day steps: