Reputation: 2669
Is it possible to do conditional build in Jenkins? for example every 5 mins it checks source control for new commits and will only build if there has been changes? we are using git at the moment.
Upvotes: 1
Views: 1302
Reputation: 2350
I use Build triggers -> Poll SCM and doesn't really see the problem in using that system.
Upvotes: 2
Reputation: 11566
You can set up Jenkins to poll your VCS and build if there are changes but better would be to use a post-commit trigger. 'Polling must die: triggering Jenkins builds from a git hook' will give you the info on setting that up.
Upvotes: 2