Nightly builds means running an automated build for a project once a day, usually after the end of the day. It is often a good practice run automated builds every time you make some change to your codebase. These automated builds help you maintain a healthy code base.
Automated builds help in finding out a number of problems like:
- A team member checked in something that breaks the codebase.
- Your dependencies have changed and they break your code.
- Your dependencies are broken.
- Your build scripts or build machine is broken.
Nightly builds ensures that you catch such problems within 24 hours of when they occur.