I have created a TFS build definition to create our software releases. Now I want to restrict access to start this build. Main goal is to avoid starting a release build by accident. Is there a way to either
EDIT: finally I came up with an own solution for part 2 of the question
I edited the buildprocesstemplate and added a custom argument (following this howto) which I test at the very start of the buildprocess. If one tries to start the build without entering the password, the build will fail with an exception. Of course this is not a supersafe protection by any means, but that was not the intention in this case.
Enter the credentials of a user (like DOMAIN\_tfsInstaller) with Admin permissions on TFS 2010 and click OK Select the Team Project Collection you want to add the Build Service and click Connect (You may be prompted again for credentials – just enter them a second time)
Use the Test Connection on the Build Agent Properties dialog to test communications between the Build Agent, TFS Server and Build Controller.
Password Protect PDF. Encrypt your PDF with a password so it can't be removed. Encrypt your PDF with a password to prevent unauthorized access to the file content, especially for file sharing or archiving. All files and passwords are transferred using secure SSL connections.
Right click on the build definition > Security
> Select a group you wish to control >
Check the Deny
permission for:
Queue builds
Edit build definition
View build definition
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With