Hey all I'm trying to figure out the best way to set up bamboo to support our chaotic dependency system. We currently have a lot of shared code in one repository (eg: utils) which supports multiple applicaitons (App A, App
. We use a general gitflow system, so for a new feature (feature/A) we could create branches in both App A and the untils repositories with the same name.
How in bamboo is the easiest way to get the build plans to know that when building App A, if there is a matching branch (feature/A) in utils to use that artifact during the execution, otherwise default to a different version(eg: master).
Hope that makes sense, but outside of writing some shell script that checks the repositories and sets variables in bamboo to then pass during the build process, I'm not sure the easiest way to do this.