On Jun 10, 2013, at 3:56 PM, Andrew <[email protected]> wrote:
> I'm looking at triggering builds from a post commit hook rather than polling > for changes, however by default the Subversion plugin builds all jobs that > Poll the Subversion repository and I have jobs that need to poll nightly, but > which I do not want triggered during the day by this post commit hook. > > Can I prevent that happening using the plugin & post commit hook combination, > or should I investigate the "trigger builds remotely" option instead? Why you would want to do both polling and have a post commit hook? Most sites simply do polling for Subversion because Subversion polling takes so little computer effort. Why bother with a post-commit hook? You can change the polling period between the day and night, so you can poll every minute during the day, and once every ten minutes at night. If you have a post-commit trigger, why not using it at night? You could write a time period inside your post-commit hook, and not trigger builds via post-commit during certain hours. Then rely on Subversion to poll in those time periods. You'll have to manually make sure that the post-commit hook times and your Subversion times are in sync, but it is possible. -- David Weintraub [email protected] perl -e 'print "Just another second rate Perl Hacker\n";' -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
