How to prevent personal builds?
Accepted answer
Hi Jeff,
There is no UI support for preventing personal builds, but in your build scripts, you could check the "personalBuild" property.
I know personal builds kind of hinder our Hudson/Jenkins integration where such a concept doesn't exist.
Scott
There is no UI support for preventing personal builds, but in your build scripts, you could check the "personalBuild" property.
I know personal builds kind of hinder our Hudson/Jenkins integration where such a concept doesn't exist.
Scott
Comments
Thanks. I had already considered doing this but I was looking for something with more immediate feedback for the user: a property check in the build script is (potentially) very late, especially if there is a long queue. Also, it's not necessarily obvious to the user why their personal build "failed".
Can you create a feature request to get this supported in the UI?
We have some support for controlling whether a build engine can pick up personal builds, but not at definition granularity. See work item for details.
One other answer
Another way you can disable personal builds is by doing so in the permissions of the Team Area which owns the build.
(Under Permissions, view by "Show all actions and roles" and deselect under Build>Request Build>Request Personal build).
The drawback of this is that is will apply to all builds owned by the Team Area, which may or may not be desired (although you could create a seperate team area too).
(Under Permissions, view by "Show all actions and roles" and deselect under Build>Request Build>Request Personal build).
The drawback of this is that is will apply to all builds owned by the Team Area, which may or may not be desired (although you could create a seperate team area too).