{"_id":"590a04f4ed80861900cbc768","user":"55b2d5626862a10d00887af9","project":"55b2d5baa74a380d00e290c4","parentDoc":null,"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"},"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"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-12T19:33:51.046Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":6,"body":"A webhook notifies buddybuild of code changes you make to your repo. Whenever a new change is pushed, buddybuild will automatically kick off a new build - ensuring you have up-to-date build status and your testers have the very latest builds.\n\nLet's get started!\n\nOn the Builds page, in the red banner at the top of the page, click on **Resolve this issue.**\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/f74c4b3-Webhooks_-_resolve_banner.png\",\n        \"Webhooks - resolve banner.png\",\n        1500,\n        298,\n        \"#f8403f\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nIn the dialog box that appears, **select and copy the webhook URL.** This URL is specific to your app and will be used to identify your app when sending webhooks from GitLab.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/2c496cd-Webhooks_-_modal.png\",\n        \"Webhooks - modal.png\",\n        1500,\n        838,\n        \"#535663\"\n      ]\n    }\n  ]\n}\n[/block]\nNavigate to your GitLab repository. In the top right corner, select the **Settings dropdown.** \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cuSKWYTsTOmWMN3GIpkN_Gitlab%20-%20Webhook%20URL%20-%201.png\",\n        \"Gitlab - Webhook URL - 1.png\",\n        \"3000\",\n        \"1188\",\n        \"#ed581c\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nSelect **Webhooks** in the menu that appears.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/o31YZaPER0C3LvLJwgYJ_Gitlab%20-%20Webhook%20URL%20-%202.png\",\n        \"Gitlab - Webhook URL - 2.png\",\n        \"3000\",\n        \"1188\",\n        \"#ed581c\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nPaste the URL you first copied into the **URL** field.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/xPig8ozmS3iIa2m2yJxt_Gitlab%20-%20Webhook%20URL%20-%203.png\",\n        \"Gitlab - Webhook URL - 3.png\",\n        \"3000\",\n        \"1188\",\n        \"#565a5f\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nSelect **Push events, Tag push events and Merge Request events.** Ensure that **Enable SSL verification** is selected and click **Add Webhook.**  You're now done!\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/moEXIGDyTHG8qtnT0X4s_Gitlab%20-%20Webhook%20URL%20-%204.png\",\n        \"Gitlab - Webhook URL - 4.png\",\n        \"3000\",\n        \"1948\",\n        \"#4cbc78\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"adding-a-gitlab-webhook","type":"basic","title":"Adding a GitLab Webhook"}

Adding a GitLab Webhook


A webhook notifies buddybuild of code changes you make to your repo. Whenever a new change is pushed, buddybuild will automatically kick off a new build - ensuring you have up-to-date build status and your testers have the very latest builds. Let's get started! On the Builds page, in the red banner at the top of the page, click on **Resolve this issue.** [block:image] { "images": [ { "image": [ "https://files.readme.io/f74c4b3-Webhooks_-_resolve_banner.png", "Webhooks - resolve banner.png", 1500, 298, "#f8403f" ], "sizing": "full" } ] } [/block] In the dialog box that appears, **select and copy the webhook URL.** This URL is specific to your app and will be used to identify your app when sending webhooks from GitLab. [block:image] { "images": [ { "image": [ "https://files.readme.io/2c496cd-Webhooks_-_modal.png", "Webhooks - modal.png", 1500, 838, "#535663" ] } ] } [/block] Navigate to your GitLab repository. In the top right corner, select the **Settings dropdown.** [block:image] { "images": [ { "image": [ "https://files.readme.io/cuSKWYTsTOmWMN3GIpkN_Gitlab%20-%20Webhook%20URL%20-%201.png", "Gitlab - Webhook URL - 1.png", "3000", "1188", "#ed581c", "" ], "sizing": "full" } ] } [/block] Select **Webhooks** in the menu that appears. [block:image] { "images": [ { "image": [ "https://files.readme.io/o31YZaPER0C3LvLJwgYJ_Gitlab%20-%20Webhook%20URL%20-%202.png", "Gitlab - Webhook URL - 2.png", "3000", "1188", "#ed581c", "" ], "sizing": "full" } ] } [/block] Paste the URL you first copied into the **URL** field. [block:image] { "images": [ { "image": [ "https://files.readme.io/xPig8ozmS3iIa2m2yJxt_Gitlab%20-%20Webhook%20URL%20-%203.png", "Gitlab - Webhook URL - 3.png", "3000", "1188", "#565a5f", "" ], "sizing": "full" } ] } [/block] Select **Push events, Tag push events and Merge Request events.** Ensure that **Enable SSL verification** is selected and click **Add Webhook.** You're now done! [block:image] { "images": [ { "image": [ "https://files.readme.io/moEXIGDyTHG8qtnT0X4s_Gitlab%20-%20Webhook%20URL%20-%204.png", "Gitlab - Webhook URL - 4.png", "3000", "1948", "#4cbc78", "" ], "sizing": "full" } ] } [/block]