diff --git a/Tasks/AzureAppServiceSettingsV1/task.json b/Tasks/AzureAppServiceSettingsV1/task.json index 76e1b99afca3..640b8cc283f9 100644 --- a/Tasks/AzureAppServiceSettingsV1/task.json +++ b/Tasks/AzureAppServiceSettingsV1/task.json @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 3 + "Minor": 163, + "Patch": 0 }, "preview": "true", "minimumAgentVersion": "2.104.1", diff --git a/Tasks/AzureAppServiceSettingsV1/task.loc.json b/Tasks/AzureAppServiceSettingsV1/task.loc.json index 87634d15ed41..d5eb044bfad6 100644 --- a/Tasks/AzureAppServiceSettingsV1/task.loc.json +++ b/Tasks/AzureAppServiceSettingsV1/task.loc.json @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 3 + "Minor": 163, + "Patch": 0 }, "preview": "true", "minimumAgentVersion": "2.104.1", diff --git a/Tasks/AzureFunctionAppContainerV1/task.json b/Tasks/AzureFunctionAppContainerV1/task.json index f3ac6d32dbe8..20b84686d9a3 100644 --- a/Tasks/AzureFunctionAppContainerV1/task.json +++ b/Tasks/AzureFunctionAppContainerV1/task.json @@ -3,7 +3,7 @@ "name": "AzureFunctionAppContainer", "friendlyName": "Azure Functions for container", "description": "Update a function app with a Docker container", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-functionapp-containers", + "helpUrl": "https://aka.ms/azurefunctioncontainertroubleshooting", "helpMarkDown": "[Learn more about this task](https://aka.ms/azurefunctiononcontainerdeployreadme)", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 2 + "Minor": 163, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureFunctionAppContainerV1/task.loc.json b/Tasks/AzureFunctionAppContainerV1/task.loc.json index 6297534c1108..7309def686b2 100644 --- a/Tasks/AzureFunctionAppContainerV1/task.loc.json +++ b/Tasks/AzureFunctionAppContainerV1/task.loc.json @@ -3,7 +3,7 @@ "name": "AzureFunctionAppContainer", "friendlyName": "ms-resource:loc.friendlyName", "description": "ms-resource:loc.description", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-functionapp-containers", + "helpUrl": "https://aka.ms/azurefunctioncontainertroubleshooting", "helpMarkDown": "ms-resource:loc.helpMarkDown", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 2 + "Minor": 163, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureFunctionAppV1/task.json b/Tasks/AzureFunctionAppV1/task.json index 60c69878a550..280d5a783428 100644 --- a/Tasks/AzureFunctionAppV1/task.json +++ b/Tasks/AzureFunctionAppV1/task.json @@ -3,7 +3,7 @@ "name": "AzureFunctionApp", "friendlyName": "Azure Functions", "description": "Update a function app with .NET, Python, JavaScript, PowerShell, Java based web applications", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks", + "helpUrl": "https://aka.ms/azurefunctiontroubleshooting", "helpMarkDown": "[Learn more about this task](https://aka.ms/azurefunctiondeployreadme)", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 3 + "Minor": 163, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureFunctionAppV1/task.loc.json b/Tasks/AzureFunctionAppV1/task.loc.json index 1a38d5be6dcf..932f13a5162e 100644 --- a/Tasks/AzureFunctionAppV1/task.loc.json +++ b/Tasks/AzureFunctionAppV1/task.loc.json @@ -3,7 +3,7 @@ "name": "AzureFunctionApp", "friendlyName": "ms-resource:loc.friendlyName", "description": "ms-resource:loc.description", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks", + "helpUrl": "https://aka.ms/azurefunctiontroubleshooting", "helpMarkDown": "ms-resource:loc.helpMarkDown", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 3 + "Minor": 163, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureRmWebAppDeploymentV3/task.json b/Tasks/AzureRmWebAppDeploymentV3/task.json index 7dc5136ac0de..973af65bc203 100644 --- a/Tasks/AzureRmWebAppDeploymentV3/task.json +++ b/Tasks/AzureRmWebAppDeploymentV3/task.json @@ -3,7 +3,7 @@ "name": "AzureRmWebAppDeployment", "friendlyName": "Azure App Service deploy", "description": "Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment", + "helpUrl": "https://aka.ms/azureappservicetroubleshooting", "helpMarkDown": "[Learn more about this task](https://aka.ms/azurermwebdeployreadme)", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 3, - "Minor": 160, - "Patch": 2 + "Minor": 163, + "Patch": 0 }, "releaseNotes": "What's new in Version 3.0:
  Supports File Transformations (XDT)
  Supports Variable Substitutions(XML, JSON)
Click [here](https://aka.ms/azurermwebdeployreadme) for more information.", "minimumAgentVersion": "2.104.1", diff --git a/Tasks/AzureRmWebAppDeploymentV3/task.loc.json b/Tasks/AzureRmWebAppDeploymentV3/task.loc.json index 5eb10332f690..791b56eedb06 100644 --- a/Tasks/AzureRmWebAppDeploymentV3/task.loc.json +++ b/Tasks/AzureRmWebAppDeploymentV3/task.loc.json @@ -3,7 +3,7 @@ "name": "AzureRmWebAppDeployment", "friendlyName": "ms-resource:loc.friendlyName", "description": "ms-resource:loc.description", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment", + "helpUrl": "https://aka.ms/azureappservicetroubleshooting", "helpMarkDown": "ms-resource:loc.helpMarkDown", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 3, - "Minor": 160, - "Patch": 2 + "Minor": 163, + "Patch": 0 }, "releaseNotes": "ms-resource:loc.releaseNotes", "minimumAgentVersion": "2.104.1", diff --git a/Tasks/AzureRmWebAppDeploymentV4/operations/KuduServiceUtility.ts b/Tasks/AzureRmWebAppDeploymentV4/operations/KuduServiceUtility.ts index 93c358579974..91be44c109a7 100644 --- a/Tasks/AzureRmWebAppDeploymentV4/operations/KuduServiceUtility.ts +++ b/Tasks/AzureRmWebAppDeploymentV4/operations/KuduServiceUtility.ts @@ -1,11 +1,15 @@ import tl = require('azure-pipelines-task-lib/task'); import Q = require('q'); import path = require('path'); -import { Kudu } from 'azure-arm-rest-v2/azure-arm-app-service-kudu'; + +import { DeploymentType, TaskParameters } from './TaskParameters'; + +import { AzureDeployPackageArtifactAlias } from './Constants'; import { KUDU_DEPLOYMENT_CONSTANTS } from 'azure-arm-rest-v2/constants'; +import { Kudu } from 'azure-arm-rest-v2/azure-arm-app-service-kudu'; + import webClient = require('azure-arm-rest-v2/webClient'); -import { TaskParameters, DeploymentType } from './TaskParameters'; -import { AzureDeployPackageArtifactAlias } from './Constants'; + var deployUtility = require('webdeployment-common-v2/utility.js'); var zipUtility = require('webdeployment-common-v2/ziputility.js'); const physicalRootPath: string = '/site/wwwroot'; @@ -195,6 +199,7 @@ export class KuduServiceUtility { queryParameters.push('message=' + encodeURIComponent(deploymentMessage)); await this._appServiceKuduService.zipDeploy(packagePath, queryParameters); console.log(tl.loc('PackageDeploymentSuccess')); + console.log("NOTE: Run From Package makes wwwroot read-only, so you will receive an error when writing files to this directory."); } catch(error) { tl.error(tl.loc('PackageDeploymentFailed')); diff --git a/Tasks/AzureRmWebAppDeploymentV4/task.json b/Tasks/AzureRmWebAppDeploymentV4/task.json index 359291c2f557..a3bf61e56f90 100644 --- a/Tasks/AzureRmWebAppDeploymentV4/task.json +++ b/Tasks/AzureRmWebAppDeploymentV4/task.json @@ -3,7 +3,7 @@ "name": "AzureRmWebAppDeployment", "friendlyName": "Azure App Service deploy", "description": "Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment", + "helpUrl": "https://aka.ms/azureappservicetroubleshooting", "helpMarkDown": "[Learn more about this task](https://aka.ms/azurermwebdeployreadme)", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 4, - "Minor": 160, - "Patch": 3 + "Minor": 163, + "Patch": 0 }, "releaseNotes": "What's new in version 4.*
Supports Zip Deploy, Run From Package, War Deploy [Details here](https://aka.ms/appServiceDeploymentMethods)
Supports App Service Environments
Improved UI for discovering different App service types supported by the task
Run From Package is the preferred deployment method, which makes files in wwwroot folder read-only
Click [here](https://aka.ms/azurermwebdeployreadme) for more information.", "minimumAgentVersion": "2.104.1", diff --git a/Tasks/AzureRmWebAppDeploymentV4/task.loc.json b/Tasks/AzureRmWebAppDeploymentV4/task.loc.json index 67a7d09113e9..44bface7bc2b 100644 --- a/Tasks/AzureRmWebAppDeploymentV4/task.loc.json +++ b/Tasks/AzureRmWebAppDeploymentV4/task.loc.json @@ -3,7 +3,7 @@ "name": "AzureRmWebAppDeployment", "friendlyName": "ms-resource:loc.friendlyName", "description": "ms-resource:loc.description", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-deployment", + "helpUrl": "https://aka.ms/azureappservicetroubleshooting", "helpMarkDown": "ms-resource:loc.helpMarkDown", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 4, - "Minor": 160, - "Patch": 3 + "Minor": 163, + "Patch": 0 }, "releaseNotes": "ms-resource:loc.releaseNotes", "minimumAgentVersion": "2.104.1", diff --git a/Tasks/AzureWebAppContainerV1/task.json b/Tasks/AzureWebAppContainerV1/task.json index 937d35282b1a..5b5b47798535 100644 --- a/Tasks/AzureWebAppContainerV1/task.json +++ b/Tasks/AzureWebAppContainerV1/task.json @@ -3,7 +3,7 @@ "name": "AzureWebAppContainer", "friendlyName": "Azure Web App for Containers", "description": "Deploy containers to Azure App Service", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-containers", + "helpUrl": "https://aka.ms/azurewebappcontainertroubleshooting", "helpMarkDown": "[Learn more about this task](https://aka.ms/azurewebapponcontainerdeployreadme)", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 2 + "Minor": 163, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureWebAppContainerV1/task.loc.json b/Tasks/AzureWebAppContainerV1/task.loc.json index 25f85fc72448..2a21a8d0b252 100644 --- a/Tasks/AzureWebAppContainerV1/task.loc.json +++ b/Tasks/AzureWebAppContainerV1/task.loc.json @@ -3,7 +3,7 @@ "name": "AzureWebAppContainer", "friendlyName": "ms-resource:loc.friendlyName", "description": "ms-resource:loc.description", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-rm-web-app-containers", + "helpUrl": "https://aka.ms/azurewebappcontainertroubleshooting", "helpMarkDown": "ms-resource:loc.helpMarkDown", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 2 + "Minor": 163, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureWebAppV1/task.json b/Tasks/AzureWebAppV1/task.json index 3cbddffaa43c..a9df82237f9b 100644 --- a/Tasks/AzureWebAppV1/task.json +++ b/Tasks/AzureWebAppV1/task.json @@ -3,7 +3,7 @@ "name": "AzureWebApp", "friendlyName": "Azure Web App", "description": "Deploy an Azure Web App for Linux or Windows", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks", + "helpUrl": "https://aka.ms/azurewebapptroubleshooting", "helpMarkDown": "[Learn more about this task](https://aka.ms/azurewebappdeployreadme)", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 5 + "Minor": 163, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/AzureWebAppV1/task.loc.json b/Tasks/AzureWebAppV1/task.loc.json index 4b7ca708c5e4..0647b58c8efe 100644 --- a/Tasks/AzureWebAppV1/task.loc.json +++ b/Tasks/AzureWebAppV1/task.loc.json @@ -3,7 +3,7 @@ "name": "AzureWebApp", "friendlyName": "ms-resource:loc.friendlyName", "description": "ms-resource:loc.description", - "helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks", + "helpUrl": "https://aka.ms/azurewebapptroubleshooting", "helpMarkDown": "ms-resource:loc.helpMarkDown", "category": "Deploy", "visibility": [ @@ -17,8 +17,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 160, - "Patch": 5 + "Minor": 163, + "Patch": 0 }, "minimumAgentVersion": "2.104.1", "groups": [ diff --git a/Tasks/Common/AzureRmDeploy-common/operations/KuduServiceUtility.ts b/Tasks/Common/AzureRmDeploy-common/operations/KuduServiceUtility.ts index 0761779e7e62..f60f0602ab11 100644 --- a/Tasks/Common/AzureRmDeploy-common/operations/KuduServiceUtility.ts +++ b/Tasks/Common/AzureRmDeploy-common/operations/KuduServiceUtility.ts @@ -1,10 +1,13 @@ import tl = require('azure-pipelines-task-lib/task'); import Q = require('q'); import path = require('path'); -import { Kudu } from '../azure-arm-rest/azure-arm-app-service-kudu'; + +import { AzureDeployPackageArtifactAlias } from '../Constants'; import { KUDU_DEPLOYMENT_CONSTANTS } from '../azure-arm-rest/constants'; +import { Kudu } from '../azure-arm-rest/azure-arm-app-service-kudu'; + import webClient = require('../azure-arm-rest/webClient'); -import { AzureDeployPackageArtifactAlias } from '../Constants'; + var deployUtility = require('../webdeployment-common/utility.js'); var zipUtility = require('../webdeployment-common/ziputility.js'); const physicalRootPath: string = '/site/wwwroot'; @@ -128,6 +131,7 @@ export class KuduServiceUtility { queryParameters.push('message=' + encodeURIComponent(deploymentMessage)); await this._appServiceKuduService.zipDeploy(packagePath, queryParameters); console.log(tl.loc('PackageDeploymentSuccess')); + console.log("NOTE: Run From Package makes wwwroot read-only, so you will receive an error when writing files to this directory."); } catch(error) { let stackTraceUrl:string = this._appServiceKuduService.getKuduStackTrace();