Follow these steps to create a build definition in VSTS:
- On the VSTS project site, click on Build and Release from the top menu, then choose Builds. Choose New Definition.
- Start with Empty Process.
- Under Tasks, go to Process and choose the private agent from the Agent queue drop-down list. In the mssqlgirl account, the private agent is named Default:
Figure 8.17 Selecting Private Agent (Default) for the tasks in the build
- Review the selections in Get sources.
The local path under $(build.sourcesdirectory) is referring to the private agent's workspace to do builds and perform additional tasks.
- Click ...