Microsoft VSTS/TFS plugin
This topic describes using a CI tool plugin to interact with Deploy.
As a preferred alternative starting with version 9.0, you can utilize a wrapper script to bootstrap XL CLI commands on your Unix or Windows-based Continuous Integration (CI) servers without having to install the XL CLI executable itself. The script is stored with your project YAML files and you can execute XL CLI commands from within your CI tool scripts. For details, see the following topics:
About the plugin
As of version 7.0.0 the Team Foundation Server 2015 Deploy plugin has been renamed to the Visual Studio Team Services (VSTS)/ Team Foundation Server (TFS) Deploy plugin.
The Deploy extension for Visual Studio Team Services (VSTS) provides automated deployment functionality through a Deploy build task for Microsoft TFS 2015, Microsoft TFS 2017, and Visual Studio Team Services (VSTS), which is also known as Visual Studio Online.
The plugin provides custom build activities to interface with Deploy, a sample build template, and an editor to help you modify the build script with custom build actions.
The build template extends a default build template with a Deploy-specific part that packages your software in a Deploy deployment package (DAR file), uploads the DAR file to a Deploy server, and deploy the software to an environment with Deploy. You can reuse these custom activities in your own variants of the build template.
Reference links:
- Visual Studio Team Services Plugin Reference
- The Deploy plugin on the Visual Studio Marketplace
- Introduction to the Team Foundation Server XAML plugin for the Deploy plugin for TFS 2010, TFS 2012, and TFS 2013
Requirements
- Team Foundation Server 2015 Update 2, Team Foundation Server 2017, or Visual Studio Team Services (VSTS)
- Deploy version 5.1.0 and later
Note: If you are using TFS 2015 or TFS 2015 Update 1, the Team Foundation Server 2015 version of the plugin is still available.
Supported versions
VSTS/TFS versions | Plugin |
---|---|
TFS 2010, 2012, 2013 | Team Foundation Server XAML plugin |
TFS 2015 or TFS 2015 Update 1 | Team Foundation Server 2015 version of the plugin |
TFS 2015 Update 2, 2017, VSTS | Visual Studio Team Services (VSTS)/ Team Foundation Server (TFS) plugin |
Features
- Create a deployment package (DAR file)
- Import a deployment package into Deploy
- Upload a deployment package to TFS
- Version a deployment package
- Deploy an imported package to a specified environment
Install the Deploy build task
Before using the Deploy build task for TFS 2015, TFS 2017 or Visual Studio Team Services, ensure that you have installed the build task as described in Install a build task in TFS.
Also, ensure that you are not searching for the custom activities used for XAML builds. For information about custom activities, see the documentation on the Deploy plugin for earlier versions of TFS.
Tip: You can use the Visual Studio Marketplace to install the Deploy extension in VSTS.