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.
Please sign in to leave a comment.
Hi, I think, you can try this plugin https://blog.jetbrains.com/teamcity/2021/03/advanced-search-in-teamcity-with-searchql-plugin/
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.