Multiple teams working on same sharing repo
Hello,
In AMS ,Team A and Team B works on the same project sharing same project repo in bitbucket which will be pushed to AMS cloud repo via bamboo.
if they want to deploy team A code changes alone to the environment though team B new code changes are present in repo, Can we restrict any specific folders or code not to be deployed in AMS by any chance?
What we have in our mind:
We can create main development branch in bitbucket and will create two different branches for each team respectively. we can merge the specific team branch to develop branch only when needed. Since we don’t have the code in develop , it will not get deploy to the AMS cloud and environment as well.
But I am not sure can this be a good solution to it and any complications or issues would it create going forward.
So, Please help me to understand the above approach would be fine or any other approach available for this problem to allow teams to operate separately within the AMS structure.

