From 1af6b284cbf36529a7b5ea383d66f9441aa1fc92 Mon Sep 17 00:00:00 2001 From: Matt Cooley Date: Wed, 28 Oct 2020 14:41:13 -0700 Subject: [PATCH] Improvements to CI pipeline (#1415) --- build/pipelines/templates/build-app-internal.yaml | 4 +--- build/pipelines/templates/build-app-public.yaml | 4 +--- build/pipelines/templates/build-single-architecture.yaml | 1 - build/pipelines/templates/package-appxbundle.yaml | 4 +--- 4 files changed, 3 insertions(+), 10 deletions(-) diff --git a/build/pipelines/templates/build-app-internal.yaml b/build/pipelines/templates/build-app-internal.yaml index 4dc9cec..9c55b30 100644 --- a/build/pipelines/templates/build-app-internal.yaml +++ b/build/pipelines/templates/build-app-internal.yaml @@ -16,11 +16,9 @@ jobs: variables: BuildConfiguration: Release BuildPlatform: ${{ parameters.platform }} - workspace: - clean: outputs steps: - checkout: self - clean: true + fetchDepth: 1 - task: UniversalPackages@0 displayName: Download internals package diff --git a/build/pipelines/templates/build-app-public.yaml b/build/pipelines/templates/build-app-public.yaml index c256e74..70f18e5 100644 --- a/build/pipelines/templates/build-app-public.yaml +++ b/build/pipelines/templates/build-app-public.yaml @@ -14,10 +14,8 @@ jobs: variables: BuildConfiguration: Release BuildPlatform: ${{ parameters.platform }} - workspace: - clean: outputs steps: - checkout: self - clean: true + fetchDepth: 1 - template: ./build-single-architecture.yaml \ No newline at end of file diff --git a/build/pipelines/templates/build-single-architecture.yaml b/build/pipelines/templates/build-single-architecture.yaml index 3e826e5..49056df 100644 --- a/build/pipelines/templates/build-single-architecture.yaml +++ b/build/pipelines/templates/build-single-architecture.yaml @@ -32,7 +32,6 @@ steps: msbuildArgs: /bl:$(Build.BinariesDirectory)\$(BuildConfiguration)\$(BuildPlatform)\Calculator.binlog /p:OutDir=$(Build.BinariesDirectory)\$(BuildConfiguration)\$(BuildPlatform)\ /p:GenerateProjectSpecificOutputFolder=true /p:AppVersion=$(Build.BuildNumber) /t:Publish /p:PublishDir=$(Build.BinariesDirectory)\$(BuildConfiguration)\$(BuildPlatform)\publish\ ${{ parameters.extraMsBuildArgs }} platform: $(BuildPlatform) configuration: $(BuildConfiguration) - clean: true maximumCpuCount: true - task: PublishBuildArtifacts@1 diff --git a/build/pipelines/templates/package-appxbundle.yaml b/build/pipelines/templates/package-appxbundle.yaml index 4770af8..f8de83c 100644 --- a/build/pipelines/templates/package-appxbundle.yaml +++ b/build/pipelines/templates/package-appxbundle.yaml @@ -19,13 +19,11 @@ jobs: ) pool: vmImage: windows-2019 - workspace: - clean: outputs variables: skipComponentGovernanceDetection: true steps: - checkout: self - clean: true + fetchDepth: 1 - task: DownloadBuildArtifacts@0 displayName: Download all .appx artifacts