From ee277f125f2fb962d7a6e1c388662754a4817aab Mon Sep 17 00:00:00 2001 From: Mohamad Adam <47275045+adam230594@users.noreply.github.com> Date: Thu, 9 Jun 2022 17:05:45 +0100 Subject: [PATCH] exclude root folder when zip (#2306) Co-authored-by: adam230594 --- azure-pipelines.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5b11591743..a48cc11fc5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -78,6 +78,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.Account.Api' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Api' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerAccounts.Api.zip' @@ -94,6 +95,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.EmployerAccounts.Web' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Web' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerAccounts.Web.zip' @@ -110,6 +112,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.EmployerAccounts.Host' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Host' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerAccounts.Host.zip' @@ -126,6 +129,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.EmployerFinance.Api' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Api' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerFinance.Api.zip' @@ -142,6 +146,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.EmployerFinance.Web' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Web' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerFinance.Web.zip' @@ -158,6 +163,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.EmployerFinance.Host' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Host' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EmployerFinance.Host.zip' @@ -174,6 +180,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.EAS.Account.Api' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EAS.Account.Api' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EAS.Account.Api.zip' @@ -190,6 +197,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.EAS.Web' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EAS.Web' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EAS.Web.zip' @@ -206,6 +214,7 @@ steps: - task: ArchiveFiles@2 displayName: 'Archive SFA.DAS.EAS.Support.Web' inputs: + includeRootFolder: false rootFolderOrFile: '$(build.artifactstagingdirectory)/SFA.DAS.EAS.Support.Web' archiveFile: '$(Build.ArtifactStagingDirectory)/publish/SFA.DAS.EAS.Support.Web.zip'