{"_id":"590a04f4ed80861900cbc76b","category":{"_id":"590a04f3ed80861900cbc73e","project":"55b2d5baa74a380d00e290c4","version":"590a04f2ed80861900cbc737","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-11-14T01:14:16.514Z","from_sync":false,"order":6,"slug":"webhooks","title":"Webhooks"},"version":{"_id":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","__v":4,"createdAt":"2017-05-03T16:27:30.085Z","releaseDate":"2017-05-03T16:27:30.085Z","categories":["590a04f3ed80861900cbc738","590a04f3ed80861900cbc739","590a04f3ed80861900cbc73a","590a04f3ed80861900cbc73b","590a04f3ed80861900cbc73c","590a04f3ed80861900cbc73d","590a04f3ed80861900cbc73e","590a04f3ed80861900cbc73f","590a04f3ed80861900cbc740","590a04f3ed80861900cbc741","590a04f3ed80861900cbc742","590a04f3ed80861900cbc743","590a04f3ed80861900cbc744","590a04f3ed80861900cbc745","590a04f3ed80861900cbc746","590a04f3ed80861900cbc747","590a04f3ed80861900cbc748","590a04f3ed80861900cbc749","590a04f3ed80861900cbc74a","590a04f3ed80861900cbc74b","590a04f3ed80861900cbc74c","590a04f3ed80861900cbc74d","59124949de13f61900336a7a","5914b04e7c2c552d008b7104","5914b47242c6a22300b9dc20"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"7.0.0","version":"7"},"parentDoc":null,"project":"55b2d5baa74a380d00e290c4","user":"55b2d5626862a10d00887af9","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-19T19:45:15.524Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":9,"body":"We're not currently able to automatically add a webhook with Visual Studio Online.\n\nHere are the instructions to do it manually. It should only take a couple of minutes.\n\nFirst, go to the project settings, and the 'Service Hooks' tab. You can create a subscription.\n\nChoose the **Web Hooks** option.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/A9SZJi3zRiCPfKIgCqoz_Screen%20Shot%202016-01-19%20at%2011.30.55%20AM.png\",\n        \"Screen Shot 2016-01-19 at 11.30.55 AM.png\",\n        \"668\",\n        \"670\",\n        \"#253e63\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nThen choose your triggers. Select **Code pushed** and **Any** branch and **Any** member.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/nKx1LEAxSVao3utfn39L_Screen%20Shot%202016-01-19%20at%2011.31.17%20AM.png\",\n        \"Screen Shot 2016-01-19 at 11.31.17 AM.png\",\n        \"705\",\n        \"717\",\n        \"#2a4b70\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nThen paste in the **buddybuild webhook url** that was provided in buddybuild's dashboard.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cNi7AzSQCi73YUQklMlY_Screen%20Shot%202016-01-19%20at%2011.31.44%20AM.png\",\n        \"Screen Shot 2016-01-19 at 11.31.44 AM.png\",\n        \"761\",\n        \"738\",\n        \"#2d4c72\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nThat's it! Next time you git push to your repo, buddybuild will trigger a build.","excerpt":"","slug":"adding-a-visual-studio-online-web-hook","type":"basic","title":"Adding a Visual Studio Online Webhook"}

Adding a Visual Studio Online Webhook


We're not currently able to automatically add a webhook with Visual Studio Online. Here are the instructions to do it manually. It should only take a couple of minutes. First, go to the project settings, and the 'Service Hooks' tab. You can create a subscription. Choose the **Web Hooks** option. [block:image] { "images": [ { "image": [ "https://files.readme.io/A9SZJi3zRiCPfKIgCqoz_Screen%20Shot%202016-01-19%20at%2011.30.55%20AM.png", "Screen Shot 2016-01-19 at 11.30.55 AM.png", "668", "670", "#253e63", "" ] } ] } [/block] Then choose your triggers. Select **Code pushed** and **Any** branch and **Any** member. [block:image] { "images": [ { "image": [ "https://files.readme.io/nKx1LEAxSVao3utfn39L_Screen%20Shot%202016-01-19%20at%2011.31.17%20AM.png", "Screen Shot 2016-01-19 at 11.31.17 AM.png", "705", "717", "#2a4b70", "" ] } ] } [/block] Then paste in the **buddybuild webhook url** that was provided in buddybuild's dashboard. [block:image] { "images": [ { "image": [ "https://files.readme.io/cNi7AzSQCi73YUQklMlY_Screen%20Shot%202016-01-19%20at%2011.31.44%20AM.png", "Screen Shot 2016-01-19 at 11.31.44 AM.png", "761", "738", "#2d4c72", "" ] } ] } [/block] That's it! Next time you git push to your repo, buddybuild will trigger a build.