From e451e599bb6d375d0215601a105b6c80ac9105b7 Mon Sep 17 00:00:00 2001 From: Amruta Kawade <65217380+AmrutaKawade@users.noreply.github.com> Date: Wed, 4 Nov 2020 11:48:38 +0530 Subject: [PATCH] updating appsettings before deployment (#13827) --- .../azurermwebappdeploymentprovider.ts | 6 +++--- Tasks/AzureWebAppContainerV1/task.json | 2 +- Tasks/AzureWebAppContainerV1/task.loc.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tasks/AzureWebAppContainerV1/azurermwebappdeploymentprovider.ts b/Tasks/AzureWebAppContainerV1/azurermwebappdeploymentprovider.ts index 4cfece9873ab..d426468a4c69 100644 --- a/Tasks/AzureWebAppContainerV1/azurermwebappdeploymentprovider.ts +++ b/Tasks/AzureWebAppContainerV1/azurermwebappdeploymentprovider.ts @@ -36,14 +36,14 @@ export class AzureRmWebAppDeploymentProvider{ public async DeployWebAppStep() { tl.debug("Performing container based deployment."); - let containerDeploymentUtility: ContainerBasedDeploymentUtility = new ContainerBasedDeploymentUtility(this.appService); - await containerDeploymentUtility.deployWebAppImage(this.taskParams); - if(this.taskParams.AppSettings) { var customApplicationSettings = ParameterParser.parse(this.taskParams.AppSettings); await this.appServiceUtility.updateAndMonitorAppSettings(customApplicationSettings); } + let containerDeploymentUtility: ContainerBasedDeploymentUtility = new ContainerBasedDeploymentUtility(this.appService); + await containerDeploymentUtility.deployWebAppImage(this.taskParams); + await this.appServiceUtility.updateScmTypeAndConfigurationDetails(); } diff --git a/Tasks/AzureWebAppContainerV1/task.json b/Tasks/AzureWebAppContainerV1/task.json index de467757e45a..59493c93bd93 100644 --- a/Tasks/AzureWebAppContainerV1/task.json +++ b/Tasks/AzureWebAppContainerV1/task.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 178, - "Patch": 0 + "Patch": 1 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureWebAppContainerV1/task.loc.json b/Tasks/AzureWebAppContainerV1/task.loc.json index c80f6f9f586a..f869dbfa5bdb 100644 --- a/Tasks/AzureWebAppContainerV1/task.loc.json +++ b/Tasks/AzureWebAppContainerV1/task.loc.json @@ -18,7 +18,7 @@ "version": { "Major": 1, "Minor": 178, - "Patch": 0 + "Patch": 1 }, "minimumAgentVersion": "2.104.1", "groups": [