无法从TFSbuild启动命令构建 [英] Unable to build from TFSbuild start command

查看:64
本文介绍了无法从TFSbuild启动命令构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在尝试使用tfsbuild start命令为我位于visual studio online的项目进行构建。  https://xxxxx.visualstudio.com/DefaultCollection


我的系统上有 Visual Studio 2015


这是我的语法 -


> tfsbuild start /collection:https://xxxxx.visualstudio.com/DefaultCollection  / builddefinition:" TestCordovaApp / TestBuild2"



我收到以下错误


TF214006:找不到团队项目TestCordovaApp与nam的构建定义 e TestBuild2。


我确实提供了"允许"允许"队列"和"查看构建定义"我的凭据。


有人可以帮我这个。我需要从命令行启动或排队构建。


提前致谢。





Vamsidhar M

解决方案

是不是XAML构建或"新"构建您在VSTS中创建的基于任务的构建? (我假设基于任务)命令行可能仅适用于基于XAML的构建。


您应该使用REST API来触发VSTS中的构建


https://www.visualstudio.com/en-us/integrate/api/overview


Hello, I a m trying to do a build from using tfsbuild start command for my project located at visual studio online. https://xxxxx.visualstudio.com/DefaultCollection

I am having Visual studio 2015 on my system.

Here is my syntax -

>tfsbuild start /collection:https://xxxxx.visualstudio.com/DefaultCollection  /builddefinition:"TestCordovaApp/TestBuild2"

I am getting below error

TF214006: No build definition was found for team project TestCordovaApp with name TestBuild2.

I did make sure I given "Allow" permission to "Queue" and "View Build Definitions" for my credentials.

Can some one help me with this. I need to initiate or queue build from command line.

Thanks in advance.


Vamsidhar M

解决方案

is it a XAML build or a "new" task based build that you created in VSTS? (I assume Task based) The command line probably only works with XAML based builds.

You should use the REST API instead to trigger a build in VSTS

https://www.visualstudio.com/en-us/integrate/api/overview


这篇关于无法从TFSbuild启动命令构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆