Premise: 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 am not able to call it using the command line TFSBuild start
command.
If I create a standard XAML definition, I can start it using the command line.
Any idea if the command line is not able to start a new-style definition?
You can use the
tfs-cli
node package to invoke builds from the commandline. After installign it, you can use it from a normal commandline in Windows, given that the Node\bin directory is added to your path environment variable.The TFS Build vNext is an entirely new feature in 2015. Hence, I doubt that it can be addressed by the old API (available pre-2015). On the other hand, tfsbuild.exe is unlikely to contain the code to work with the new REST API. I would say it is expected behavior.
I'm not aware about an ad-hoc tool, but you can achieve the similar effect with Invoke-RestMethod and TFS REST API.