Teamcity VCS Settings - Cloning Build Configs - Unique IDs

Answered

I can't find much documentation around copying build configurations through VCS settings.

AKA copy a buildType xml settings to a new directory.  I rename and fix all the references, remove the uuid attribute but I am stuck on the ID attributes.

<build-trigger id="TRIGGER_???"  type="buildDependencyTrigger">

<artifact-dependencies> <dependency id="????" sourceBuildTypeId="ActualID"

 

Do these ids matter?  If I keep them the same from a copied configuration will there be issues?  Do I need to remove all these ids?

Things seem to work when I keep them the same but I am not sure if this will bite me later.

Thanks

-Trevor

1
2 comments

Hello Trevor,

You can leave "build-trigger id" and "dependency id" as is. You only need to regenerate uuid and change build configuration name. These ids are also not changed if you copy via TeamCity UI.

0
Avatar
Permanently deleted user

Thanks!

0

Please sign in to leave a comment.