How to restrict visibility of Build Definition and Stream
DevOps implementation forces me to create multiple stream and build definitions. Some of the Stream needs to be hidden from the development community. Also, the build definitions need to be exposed based on the role of the team.
What would be the best way to implement this visibility behavior.
Thanks
One answer
Both Streams and Build Definitions can be owned by a Team Area... so you can restrict visibility of that Team Area.
This would prevent the artifacts from showing up in the Team Artifacts view for example.
Streams can be queried for in the UI, so to prevent them being returned, you would use the 'Visibility' property of the stream, and set it either to either the Team Area, or you can also pick an Access Group.
Comments
First, Thanks David for your answer.
Yes, the stream is working for me based on your instructions, the visibility parameter for the stream works fine.
The build definition doesn't have visibility parameter, but I used the "Project or Team area", it doesn't work for me. If I use team area value, still it is same as project area.
FYI. The team area I used doesn't have the user which I try to hide, but still they can see the build definition(s).
Thanks
Ah yes you are right... it works for Streams but not for builds.
There is the following open enhancement request for that here:
I suppose you could organize your builds into folders based on Team Area... at least will help reduce clutter and keep things organized.
Also, having a build owned by a team area will at least let you control 'write-access' to the build (since that would be governed based on roles in the team area).