Do you know when to use an on-premises build server with Visual Studio Online?
If you are using Visual Studio Online, there's an awesome Hosted Build Server option you can use to perform your builds with little to no setup. But if you're working on a project that has continuous integration and a long build time, it's not long before those build minutes start to add up.
To reduce your build costs, you could reduce the number of builds or try to reduce the build time. Continuous integration is very important so you don't want to turn that off, and we encourage checking in early and often. Reducing the build time is a nice idea, but you can't always reduce it enough to make a difference.
For large, expensive projects, the best option is to configure an on-premises build server rather than using hosted builds.
To configure an on-premises build server for Visual Studio Online, check out Anthony Borton's great walkthrough:
Once you have a build server configured, you'll be able to see the build controller as an option when you configure a new build definition.