O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Build periodically

The first build trigger we are going to use is the periodic built trigger. This trigger is pretty handy when you have some tasks that can be executed every few hours, once a day, and so on. For our build, it has a downside. Cron is flexible enough to express a schedule like -every hour between 9 AM and 5 PM (or 9:00 and 17:00), so you can do periodic builds during office hours. Of course, you can also still trigger a build manually in case you are working overtime. The downside to this trigger, for us, is that we may have no commits for a few hours, but we will have builds. Or worse, we have multiple commits in one hours and they will all be tested at the same time.

When our build fails, we will not know what commit made ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required