TFSBuild / vNext 2015 Command Line

Room: I think this is a bug / missing functionality in TFS 2015

When I create a new Build (non-xaml) definition using the TFS website, I cannot invoke it using the command line command TFSBuild start.

If I create a standard XAML definition, I can run it using the command line.

Any idea if the command line cannot start defining a new style?

+4
source share
2 answers

TFS Build vNext - 2015 . , API ( 2015 ). , tfsbuild.exe REST API. , .

, , TFS vNext ?

, Invoke-RestMethod TFS REST API.

+5

tfs-cli node . Windows, , Node\bin.

Syntax:
tfx build queue --arg1 arg1val1 arg1val2[...] --arg2 arg2val1 arg2val2[...]

Command: queue
Queue a build.

Arguments:
  --project          Project name.
  --definition-id    Identifies a build definition.
  --definition-name  Name of a Build Definition.

Global server command arguments:
  --auth-type    Method of authentication ('pat' or 'basic').
  --username     Username to use for basic authentication.
  --password     Password to use for basic authentication.
  --token        Personal access token.
  --service-url  URL to the service you will connect to, e.g. https://youraccount.visualstudio.com/DefaultCollection.
  --fiddler      Set up the fiddler proxy for HTTP requests (for debugging purposes).
  --proxy        Use the specified proxy server for HTTP traffic.

Global arguments:
  --help       Get help for any command.
  --save       Save arguments for the next time a command in this command group is run.
  --no-prompt  Do not prompt the user for input (instead, raise an error).
  --output     Method to use for output. Options: friendly, json, clipboard.
  --json       Alias for --output json.

To see more commands, type tfx build --help
+1

All Articles