Summary
Votes for the Team Foundation Server or Visual Studio Team Services pull request
using the specified settings.
Syntax
public static void TfsVotePullRequest(this ICakeContext context, TfsPullRequestSettings settings, TfsPullRequestVote vote)
Examples
Vote 'Approved' to a TFS pull request:
var pullRequestSettings =
new TfsPullRequestSettings(
new Uri("http://myserver:8080/tfs/defaultcollection/myproject/_git/myrepository"),
"refs/heads/feature/myfeature",
TfsAuthenticationNtlm());
TfsVotePullRequest(
pullRequestSettings,
TfsPullRequestVote.Approved);
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Return Value