https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin


Jenkins can poll Subversion repositories for changes, and while this is 
reasonably efficient, this can only happen up to every once a minute, so you 
may still have to wait a full minute before Jenkins detects a change.

To reduce this delay, you can set up a post commit 
hook<http://svnbook.red-bean.com/en/1.5/svn.reposadmin.create.html#svn.reposadmin.create.hooks>
 so the Subversion repository can notify Jenkins whenever a change is made to 
that repository. To do this, put the following script in your post-commit file 
(in the $REPOSITORY/hooks directory):


Will

________________________________
From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on 
behalf of zw [mpc8...@gmail.com]
Sent: Monday, December 31, 2012 1:09 PM
To: jenkinsci-users@googlegroups.com
Subject: Jenkins job to pick up SVN checkin sooner - quick question

Hi

Is there a way to cause Jenkins/Hudson job to pick up SVN checkins sooner ?
There appears to be a lag time needed from the time SVN checkins and the time 
Jenkins/Hudson job can detect the changes and perform svn update.
But that wait duration is unknown to us.
We like to be able to pick the updated files as soon as they are checked into 
SVN.
We know there's a polling trigger. Is that the only option to get the quickest 
file updates ?

Thanks

Reply via email to