Using Kiln repositories with templates

I'm currently using Kiln as my Mercurial source repository during builds. Everything is running smoothly but each time I setup a new branch and want to have a build for it I have to duplicate my build configuration instead of using a template. The reason for this is my branches use different urls instead of the same url and a different branch name. So for example I have

http://company.kilnhg.com/Repo/MyProject/Group/Stable

http://company.kilnhg.com/Repo/MyProject/Group/Development (branch of stable)

http://company.kilnhg.com/Repo/MyProduct/Group/Brian (personal branch of development)

Using a template I could assign the branch name to a variable and set that per build. Is there a way to do this but with the url of my repositories? If there isn’t is there any plan of supporting this in a future release?

3 comments
Comment actions Permalink

This will be supported in TeamCity 6.5, you already can try this feature in the latest TeamCity 6.5 EAP. And we would really appreciate your feedback on it.

0
Comment actions Permalink

This looks to be working well so far. Now that I'm able to use a template for all of my builds I'm seeing one issue which is dev builds I don't want to tag on success but release builds I do. Is there a way to allow this to be set per build instead of per template?

0
Comment actions Permalink

Perhaps you can do it in additional build step right in the build itself? Note that to be able to use hg commands on the agent you'll need to switch to checkout on agent mode.

0

Please sign in to leave a comment.