We have a similar setup when we run 'private', when developers register in the DEV branch and the "integration" assemblies, which are actually the ones that belong to the test team.
Both 'private' and 'integration' assemblies are made from the same assembly process template, but are different build definitions.
We built the user activity "Types.cs" in the build solution (basically a simple enumeration):
namespace BuildTasks.Activities { public enum QATypes { Private, Integration, Release } }
This is conveyed as the possible values โโof the build argument we added with the name "BuildType":
.
This now appears as a custom assembly definition parameter: 
We obviously introduce 'private' or 'Integration' in each definition, respectively. At the final stages of our process, we check the value of this parameter and, depending on it, we send (or not) a letter to the QA alias.
You may be able to organize a similar implementation to meet your needs.
source share