Visual Studio Online团队内部版本中TFS映射中的变量 [英] Variables in TFS Mappings on Visual Studio Online Team Builds

查看:57
本文介绍了Visual Studio Online团队内部版本中TFS映射中的变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用新的Team build系统创建了一个VSO build,该系统使用TFS作为存储库.我想在映射"->映射"值中引入一个变量,但是在执行此操作时出现此错误:

I have created a VSO build using the new Team build system which uses TFS as the Repository. I would like to introduce a variable into the Mappings -> Map value but when I do I get this error:

TF10122: The path '$/YourProject/${Build}' contains a '$' at the beginning of a path component. Remove the '$' and try again.

有没有一种方法可以完成此操作,或者我只需要对我的地图路径进行硬编码?

Is there a way to accomplish this or do I need to just hard code my Map path?

推荐答案

存储库"页面上的映射用于指定源代码管理文件夹,该文件夹包含需要在构建定义中构建的项目.您可以通过单击省略号(...)按钮进行设置,但是,不能在映射路径中包含变量.

Mappings on the Repository page are used to specify source control folder which contains projects that need to be built in the build definition. You can set it via clicking the Ellipsis (...) button, however, you can't include variables in the mapping path.

这篇关于Visual Studio Online团队内部版本中TFS映射中的变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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