{"_id":"590a04f6ed80861900cbc78a","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"},"__v":0,"project":"55b2d5baa74a380d00e290c4","parentDoc":null,"category":{"_id":"590a04f3ed80861900cbc73f","version":"590a04f2ed80861900cbc737","project":"55b2d5baa74a380d00e290c4","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-02T17:55:17.903Z","from_sync":false,"order":7,"slug":"builds-and-tests","title":"Builds"},"user":"55b2d5626862a10d00887af9","updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-02-24T05:20:43.247Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":9,"body":"Builds can stack up when multiple commits are made in quick succession on the same branch. If you are only interested in the most recent build, then buddybuild can automatically cancel pending builds for you when a new build request is received.\n\nWith this feature, buddybuild will automatically cancel all *queued* and *running* webhook triggered builds on a branch when a newer build is triggered by webhook for the same branch.\n\nTo enable this behaviour go to *App Settings* for your app and enable the *Auto-cancel builds* setting.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/f3cc3f0-Settings_-_Auto-cancel_builds.png\",\n        \"Settings - Auto-cancel builds.png\",\n        1500,\n        147,\n        \"#d1d2d2\"\n      ],\n      \"border\": false,\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"auto-cancel-builds","type":"basic","title":"Auto-cancel Builds"}

Auto-cancel Builds


Builds can stack up when multiple commits are made in quick succession on the same branch. If you are only interested in the most recent build, then buddybuild can automatically cancel pending builds for you when a new build request is received. With this feature, buddybuild will automatically cancel all *queued* and *running* webhook triggered builds on a branch when a newer build is triggered by webhook for the same branch. To enable this behaviour go to *App Settings* for your app and enable the *Auto-cancel builds* setting. [block:image] { "images": [ { "image": [ "https://files.readme.io/f3cc3f0-Settings_-_Auto-cancel_builds.png", "Settings - Auto-cancel builds.png", 1500, 147, "#d1d2d2" ], "border": false, "sizing": "full" } ] } [/block]