Find build configuration with specific parameter

Hi

 

I need to update a parameter's value that may be in 100s of build configs in our project tree scattered in different folders. What's the best way to go about it. Is there a way to use build config filtering (locator). That way I won't have to loop through 1000s of build configs.

 

This build type locator seems promising - https://www.jetbrains.com/help/teamcity/rest/buildtypelocator.html#Properties

A working example of the REST command would be nice.

 

Thank you.

0
2 comments
Avatar
Fedor Rumyantsev
Hello!

Going forward, we would also suggest to use build configuration templates feature (https://www.jetbrains.com/help/teamcity/build-configuration-template.html) so that you could tie all of your build configurations to a single template defining the value of this parameter, and change it in a single action if needed.
0

Please sign in to leave a comment.