Deploy: Service Fabric Application Deployment

Last Update: 4/7/2017

Team Services | TFS 2017 | Previous versions (XAML builds)

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.

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.

  • Example: $(system.defaultworkingdirectory)/**/drop/projectartifacts/**/PublishProfiles/Cloud.xml
  • Can include wildcards and variables.
Application Package

The location of the Service Fabric application package to be deployed to the cluster.

  • Example: $(system.defaultworkingdirectory)/**/drop/applicationpackage
  • Can include wildcards and variables.
Cluster Connection

The name of the Azure Service Fabric service endpoint defined in the TS/TFS project that describes the connection to the cluster.

Control options

Also see: Update Service Fabric App Versions task

Q&A

Do I need a build agent?

You need at least one agent to run your build. Get an agent.

I can't select a default agent queue and I can't queue my build. How do I fix this?

See queues.

I use Team Foundation Server on-premises and I don't see some of these features. Why not?

Some of these features are available only on Visual Studio Team Services and not yet available on-premises. Some features are available on-premises if you have upgraded to the latest version of TFS.

Help and support