?
When you share/link action groups, you may select a "Default Server" for the actions, which means you can link them across environments and still have the actions run on different servers (just select the local BuildMaster server for the actions, that will be overridden by the selected default server of the group). If you choose a separate build server for your actions instead, that will take precendence over the default server unless the build server is the same as the BuildMaster server; if that's the case you can just put those actions in a separate group.
As for the database selection, we could update that action to allow selection via a variable or have a default option that chooses the DB based on the environment it's in.