Search code examples
build-process

How to reduce the times of build broken in software development?


I am in large product that there are more than 200 people and locate in 3 different locations. Most of people work on the main branch , so of course, it is important to void the build broken. There is an daily build and it will take about 6 hours to generate the build. Manage team emphasis "taking care before submit" again and again, but now it is at least one build broken during one week.

Would you share your practice to reduce the build-broken? Thanks.


Solution

  • Broken build should become a not-Event, to achieve this you need to reduce the costs associated with broken build, right now because it takes 6 hours to create it and most likely it executed during time when majority of people are out of office every broken build can move a schedule of entire project of by a day. To remove this cost you need to build often and build quickly. So the best thing you can do is to improve build times and build on every check-in.