Versioned pipelines from Git

Hello,

Let's say that i am having a pipeline which is working for my dev, uat, preprod and prod environment. Easiest for me would be to keep it synced with git in application repository. Now as part of one feature i would like to make a change in pipeline, which should cause different teamcity behaviour only for code which has this feature merged. Is that possible with Teamcity? For example - dev will be build using new pipeline (develop branch) but production (master branch) will still be build using old pipeline - until pipeline code from develop is merged to master. 

0
2 comments

Hi Mateusz,

 

it would seem like this: https://blog.jetbrains.com/teamcity/2018/01/branch-specific-settings-in-teamcity/ is what you are looking for. Could you check whether that works for you?

1

Thanks Denis - yes this is it. I have already found it and tested - it works for me. Although limitation of singe build per repository is a blocker for more advanced usage.

0

Please sign in to leave a comment.