From fe9c9747b74472f91032878abc2692cd606ca776 Mon Sep 17 00:00:00 2001 From: svommina <31011119+svommina@users.noreply.github.com> Date: Tue, 25 Feb 2020 20:20:43 +0530 Subject: [PATCH 1/2] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index aa91291..241d3d0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,4 +1,11 @@ # Starter pipeline +- task: ArchiveFiles@2 + inputs: + rootFolderOrFile: '$(Build.BinariesDirectory)' + includeRootFolder: true + archiveType: 'zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip' + replaceExistingArchive: true # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml From 53322be057ffb0287dc1e2fe1851d03e49774599 Mon Sep 17 00:00:00 2001 From: svommina <31011119+svommina@users.noreply.github.com> Date: Tue, 25 Feb 2020 20:22:01 +0530 Subject: [PATCH 2/2] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 241d3d0..5c00ae8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,11 +1,5 @@ # Starter pipeline -- task: ArchiveFiles@2 - inputs: - rootFolderOrFile: '$(Build.BinariesDirectory)' - includeRootFolder: true - archiveType: 'zip' - archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip' - replaceExistingArchive: true + # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml @@ -24,3 +18,11 @@ steps: echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml displayName: 'Run a multi-line script' + +- task: ArchiveFiles@2 + inputs: + rootFolderOrFile: '$(Build.BinariesDirectory)' + includeRootFolder: true + archiveType: 'zip' + archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip' + replaceExistingArchive: true \ No newline at end of file