Continuous Integration in VSTS

Continuous Integration in VSTS

I will demonstrate how to setup basic continuous integration to build, test and publish code every time someone commits changes to version control.

Requirements

  • VSTS account
  • A VSTS git repository

Setting Up Continuous Integration

Go to your project in VSTS and follow the steps:

  1. Find the Files tab of the Code hub, and then click Set up build and confirm the VSTS repository and branch
  2. In the right panel, select .NET Desktop template , and then click Apply
  3. For the Agent queue select Hosted VS2017
  4. Click Get sources and then
  5. Click the Triggers tab in the build definition, and Enable the Continuous Integration trigger
  6. Click Save & queue to start the first build

References

 
comments powered by Disqus