Skip to content

XAML Invoke Release

Codeblack edited this page Mar 12, 2017 · 1 revision

Invoke-Release

Initiates a release using a Release Management server.

In the Release Management server, there should be a Release Template for the build-definition and it should be configured for triggering a release from a build.

Parameters

RMServer

Specifies the name of the Release Management server to use for initiating the release.

RMPort

Specifies the name of the Release Management server to use for initiating the release. Default is 1000.

TeamFoundationServerUrl

Specifies the url of the Team Project Collection, containing the Team Project for which to initiate the release.

TeamProjectName

Specifies the name of the Team Project, containing the build-definition for which to initiate the release.

BuildDefinitionName

Specifies the build definition for which to initiate the release.

BuildNumber

Specifies the build-number for which to initiate the release.

TargetStageName

Specifies the target stage for the release. Leave blank to allow the release to go through all the stages in the release path.

WhatIf

Specifies that no changes should be made.