This is Syed Aslam Basha here from Information security and risk management team.
In this blog I will show “How to create basic build definition”.
- Build system should be configured
- You should have edit build definition permissions
Build definition helps in setting up automated build generation, compile source, generate bits to a preconfigured shared folder.
Steps to create build definition:
- Launch Visual Studio (VS) 2010
- Select the team project in team explorer
- Click on Build –> New Build Definition menu
- Enter build definition name and description
- Click on trigger, select one of the required check-in trigger options. example continuous integration build each check-in – this build is queued in every time chance is checked in the files that are built by this definition
- Click on workspace, select the source bits which will be compiled, example: the test automation project (checked in TFS)
- Click on build defaults, select build controller, enter the share folder path to which compiled bits and log files to be copied
- Click on process, select the project to build example the test automation project
- Click on test assembly, enter test assembly file
- Select the required build definition format, example when build is completed build definition name along with date format folder will be created in shared folder and the bits will be copied in the folder.
- Save the build definition
We are good to use build definition.
– Syed Aslam Basha (email@example.com)
Microsoft Information Security Tools (IST) Team
Please leave a comment if the blog post has helped you.