Skip to content

Latest commit

 

History

History
183 lines (142 loc) · 5.47 KB

azure-web-powershell-deployment-v1.md

File metadata and controls

183 lines (142 loc) · 5.47 KB
title description ms.date monikerRange
AzureWebPowerShellDeployment@1 - Azure App Service Classic (Deprecated) v1 task
Create or update Azure App Service using Azure PowerShell.
04/29/2024
<=azure-pipelines

AzureWebPowerShellDeployment@1 - Azure App Service Classic (Deprecated) v1 task

:::moniker range="<=azure-pipelines"

This task creates or updates Azure App Service using Azure PowerShell.

This task is deprecated.

:::moniker-end

Syntax

:::moniker range=">=azure-pipelines-2019"

# Azure App Service Classic (Deprecated) v1
# Create or update Azure App Service using Azure PowerShell.
- task: AzureWebPowerShellDeployment@1
  inputs:
    ConnectedServiceName: # string. Required. Azure Subscription (Classic). 
    WebSiteLocation: # string. Required. Web App Location. 
    WebSiteName: # string. Required. Web App Name. 
    #Slot: # string. Slot. 
    Package: # string. Required. Web Deploy Package. 
    #doNotDelete: false # boolean. Set DoNotDelete flag. Default: false.
    #AdditionalArguments: # string. Additional Arguments.

:::moniker-end

Inputs

:::moniker range="<=azure-pipelines"

ConnectedServiceName - Azure Subscription (Classic)
string. Required.

Specifies the Azure Classic subscription to target for deployment.


:::moniker-end

:::moniker range="<=azure-pipelines"

WebSiteLocation - Web App Location
string. Required.

Specifies a location for the website.


:::moniker-end

:::moniker range="<=azure-pipelines"

WebSiteName - Web App Name
string. Required.

Specifies the website name or selects it from the list.
Note: Only the websites associated with the default app service plan for the selected region are listed.


:::moniker-end

:::moniker range="<=azure-pipelines"

Slot - Slot
string.

Specifies the slot.


:::moniker-end

:::moniker range="<=azure-pipelines"

Package - Web Deploy Package
string. Required.

The path to the Visual Studio Web Deploy package under the default artifact directory.


:::moniker-end

:::moniker range="<=azure-pipelines"

doNotDelete - Set DoNotDelete flag
boolean. Default value: false.

When set to true, additional files in the Web Deployment package are preserved while publishing the website.


:::moniker-end

:::moniker range="<=azure-pipelines"

AdditionalArguments - Additional Arguments
string.


:::moniker-end

Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

:::moniker range="<=azure-pipelines"

None.

:::moniker-end

Requirements

:::moniker range="<=azure-pipelines"

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent
Demands Self-hosted agents must have capabilities that match the following demands to run jobs that use this task: azureps
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version 1.103.0 or greater
Task category Deploy

:::moniker-end