开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜