TFS2015构建定义Subversion存储库映射参数化 [英] TFS2015 Build Definition Subversion Repository Mappings Parameterization

查看:69
本文介绍了TFS2015构建定义Subversion存储库映射参数化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨微软

请查看下面的快照供您参考。

Please find below snapshot for your reference.

我需要检查是否可以添加环境变量在subversion版本库的映射中根据环境变量值获取源代码路径,但不确定它是否有效?

I need to check if it is posssible to add environment variable in the mappings for subversion repository to get the souce code path based on the environment variable value, but not sure it will work?

我的场景是:

在产品A / ComponetB /等svn路径下,有一堆标签名为datetime  yyyyMMddHHmm作为标签名称,我们必须根据查询找到最新的标签,或根据具体的标签名称查找特定的标签进行进一步的get-source
操作。 

Under a svn path such as productA/ComponetB/, there are bunch of tags with the datetime yyyyMMddHHmm as the tag name, we have to find the latest tag based on the query or find the specific tag based on the specific tag name to do the further get-source operation. 

我们可以通过参数化映射来实现吗?

Can we do it by parameterize the mappings?

谢谢

Recho

推荐答案

嗨Recho Shen,

Hi Recho Shen,

您无法包含变量"

You couldn't include variables "


(yourvariable)"  in映射路径。
(yourvariable)" in the mapping path.

请参考以下链接:

https://stackoverflow.com/questions/36453360/tfs-2015-builds-is-it-possible-to -use-variables-in-repository-mappings

最好的问候


这篇关于TFS2015构建定义Subversion存储库映射参数化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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