diff --git a/Tasks/AzureWebAppContainerV1/task.json b/Tasks/AzureWebAppContainerV1/task.json index 851da74444e1..637405d9fd2b 100644 --- a/Tasks/AzureWebAppContainerV1/task.json +++ b/Tasks/AzureWebAppContainerV1/task.json @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 227, - "Patch": 1 + "Minor": 229, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ @@ -329,4 +329,4 @@ "MultiContainerDeploymentWithTransformation": "Multi-container deployment to the webapp '%s' with the transformation of Docker-Compose file as both image name and Docker-Compose file were specified", "MultiContainerDeploymentWithoutTransformation": "Multi-container deployment to the webapp '%s' without transformation of Docker-Compose file because only Docker-Compose file was specified." } -} \ No newline at end of file +} diff --git a/Tasks/AzureWebAppContainerV1/task.loc.json b/Tasks/AzureWebAppContainerV1/task.loc.json index b65f96285e33..645ae3722369 100644 --- a/Tasks/AzureWebAppContainerV1/task.loc.json +++ b/Tasks/AzureWebAppContainerV1/task.loc.json @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 227, - "Patch": 1 + "Minor": 229, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ @@ -329,4 +329,4 @@ "MultiContainerDeploymentWithTransformation": "ms-resource:loc.messages.MultiContainerDeploymentWithTransformation", "MultiContainerDeploymentWithoutTransformation": "ms-resource:loc.messages.MultiContainerDeploymentWithoutTransformation" } -} \ No newline at end of file +} diff --git a/Tasks/AzureWebAppContainerV1/taskparameters.ts b/Tasks/AzureWebAppContainerV1/taskparameters.ts index 411dffce83e1..ae932fc4e211 100644 --- a/Tasks/AzureWebAppContainerV1/taskparameters.ts +++ b/Tasks/AzureWebAppContainerV1/taskparameters.ts @@ -29,6 +29,11 @@ export class TaskParametersUtility { taskParameters.azureEndpoint = await new AzureRMEndpoint(taskParameters.connectedServiceName).getEndpoint(); console.log(tl.loc('GotconnectiondetailsforazureRMWebApp0', taskParameters.WebAppName)); + if(taskParameters.AppSettings && taskParameters.AppSettings !== null) + { + taskParameters.AppSettings = taskParameters.AppSettings.replace('\n',' '); + } + let appDetails = await this.getWebAppKind(taskParameters); taskParameters.ResourceGroupName = appDetails["resourceGroupName"]; taskParameters.OSType = appDetails["osType"];