Export/Import Build Configurations

I have two versions of TeamCity: the TeamCity Professional and TeamCity Enterprise. I have created about 15 build confiurations in TeamCity Professional that I need to move to TeamCity Enterprise. Is there a way to export the setting from one and import into the other?

4 comments
Comment actions Permalink

If all you need is to copy settings and you do not need a builds history you can copy corresponding directories from the .BuildServer/config directory (each directory with configs is named after the project name). You need to ensure that identifiers used in the copied configuration files do not clash with already existing identifiers (take a look at the id attributes in project-config.xml files).

1
Comment actions Permalink

Hi!

I've just experienced that export/import feature. It worked quite well and is really simplier if you have no config yet in your targeted machine!

The only limitation I've seen is that on labelling-pattern change, I used to have to select again "on success labeling" from the web GUI as it has been disactivated sometimes.

Regards,

Olivier.

0
Comment actions Permalink

I'd like to copy a project from a busy live Team City 5.1.3 server to a test server for experimentation and I tried this method of copying the .BuildServer\config\myConfig  from one machine to the other but no luck. Is there something different about Teamcity 5 ??? or a different method of doing this ?   

0
Comment actions Permalink

On 2nd try it does work. My .BuildServer directory had been moved to a different location recently. As mentioned above make sure there is no existing project with the same project id .

0

Please sign in to leave a comment.