Configure CI with GitHub and Team Services

I was recently pinged on Twitter about setting up GitHub and Team Services to enable Continuous Integration.  Below are the required steps.

  1. Log in to your Team Services account
  2. Select a Team Project
  3. Click Build
  4. Add new build
    image
  5. Select a Template
  6. Click Next >
  7. Click GitHub
  8. Check Continuous integration
  9. Click Create
  10. Click Repository
  11. Click Manage
  12. Click New Service Endpoint
  13. Select GitHub
    (Make sure any browser Popup-blockers are configured to allow your Team Service URL to show a popup or you will not be able to authorize your account.)
  14. Click Authorize
    (If required log into your GitHub account)
  15. Click OK
  16. Return to your build
  17. Click Refresh button
    image
  18. Select your repository
  19. Select your branch
  20. Click General
  21. Check Badge enabled
    image
  22. Save your build
  23. Commit a change to the GitHub branch

Once the build is complete you will be able to access a link to GitHub on the build summary page.

image

Do not hesitate to ping me on Twitter if I can help. It is actually faster than leaving comments here (sad but true).

Comments (5) -

  • Mike Kaufmann

    7/18/2016 8:30:44 AM | Reply

    I have some more screenshots in this post: writeabout.net/.../ I also show how to use the badge.  

  • John Shkolnik

    10/12/2016 1:20:46 AM | Reply

    Donovan, does this still work for you? We've had this working flawlessly for a while but it stopped working recently (unsure when) and nothing seems to resolve it. Commits in GitHub aren't triggering the associated CI build in VSTS.

    • Donovan

      11/3/2016 5:58:46 PM | Reply

      I will test today.

      • John Shkolnik

        11/3/2016 6:03:04 PM | Reply

        Thanks but they've already fixed whatever it was.

      • John Shkolnik

        11/3/2016 6:03:09 PM | Reply

        Thanks but they've already fixed whatever it was.

Add comment

Loading