开发者

Is it possible to dynamically change the workspace paths in a Team Build definition?

开发者 https://www.devze.com 2022-12-16 14:21 出处:网络
We have a dev branch and a main branch--obviously both have the same relative paths. Is it possible to use one build definition across b开发者_运维百科oth branches and dynamically change the path in t

We have a dev branch and a main branch--obviously both have the same relative paths. Is it possible to use one build definition across b开发者_运维百科oth branches and dynamically change the path in the build definition file?


From your question I assume that the TFSBuild.proj is in a folder that is not branched. Instead I use to branch also the folder with the buid script, that is the folder is under the Main trunk. In that way you have a "copy" of the same script under the Dev branches. Then I just have various Build definitions that may point to the "right" copy.

0

精彩评论

暂无评论...
验证码 换一张
取 消