Dela via


Service Fabric Application Deployment task

TFS 2017

Use this task to deploy a Service Fabric application to a cluster. This task deploys an Azure Service Fabric application to a cluster according to the settings defined in the publish profile.

Note

In Microsoft Team Foundation Server (TFS) 2018 and previous versions, build and release pipelines are called definitions, runs are called builds, service connections are called service endpoints, stages are called environments, and jobs are called phases.

Prerequisites

Service Fabric

This task uses a Service Fabric installation to connect and deploy to a Service Fabric cluster.
Download and install Service Fabric on the build agent.

Arguments

Argument Description
Publish Profile The location of the publish profile that specifies the settings to use for deployment, including the location of the target Service Fabric cluster. Can include wildcards and variables. Example:
$(system.defaultworkingdirectory)/**/drop/projectartifacts/**/PublishProfiles/Cloud.xml
Application Package The location of the Service Fabric application package to be deployed to the cluster. Can include wildcards and variables. Example: $(system.defaultworkingdirectory)/**/drop/applicationpackage
Cluster Connection The name of the Azure Service Fabric service connection defined in the TS/TFS project that describes the connection to the cluster.
Control options See Control options

Also see: Update Service Fabric App Versions task

Open source

This task is open source on GitHub. Feedback and contributions are welcome.