From 718e804988a370be47a7a6f2959a4ed6acf7925d Mon Sep 17 00:00:00 2001 From: Ewan Noble Date: Thu, 4 Aug 2022 15:49:27 +0100 Subject: [PATCH] Revert zipdeploy for webjobs --- azure-pipelines.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 86dbf4afb5..d8588ec992 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -96,18 +96,11 @@ steps: inputs: solution: 'src/SFA.DAS.EmployerAccounts.Host/SFA.DAS.EmployerAccounts.Host.csproj' vsVersion: 16.0 - msbuildArgs: '/p:DeployOnBuild=true /p:DeployDefaultTarget=WebPublish /p:WebPublishMethod=FileSystem /p:SkipInvalidConfigurations=true /p:publishUrl="$(build.artifactstagingdirectory)/SFA.DAS.EmployerAccounts.Host"' + msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)/publish"' platform: 'anycpu' configuration: 'release' clean: true -- 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' - - task: VSBuild@1 displayName: 'Publish SFA.DAS.EmployerFinance.Api' inputs: @@ -147,18 +140,11 @@ steps: inputs: solution: 'src/SFA.DAS.EmployerFinance.Host/SFA.DAS.EmployerFinance.Host.csproj' vsVersion: 16.0 - msbuildArgs: '/p:DeployOnBuild=true /p:DeployDefaultTarget=WebPublish /p:WebPublishMethod=FileSystem /p:SkipInvalidConfigurations=true /p:publishUrl="$(build.artifactstagingdirectory)/SFA.DAS.EmployerFinance.Host"' + msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactstagingdirectory)/publish"' platform: 'anycpu' configuration: 'release' clean: true -- 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' - - task: VSBuild@1 displayName: 'Publish SFA.DAS.EAS.Account.Api' inputs: