SkunkSpinner
SkunkSpinner

Reputation: 11636

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 both branches and dynamically change the path in the build definition file?

Upvotes: 1

Views: 320

Answers (1)

Giulio Vian
Giulio Vian

Reputation: 8343

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.

Upvotes: 1

Related Questions