Yeah, I'd like to do that too, unfortunately it's not possible with our current network limitations. (everything behind vpn access).
On Mon, Jan 28, 2013 at 1:49 PM, nicolas de loof <[email protected]>wrote: > would be far more efficient for you to setup a post-commit hook, > "poling must die" :P > > 2013/1/28 <[email protected]> > >> For the past few weeks our git checkouts from github have gotten slower >> and slower (now resulting in updates for one small commit taking > 1 minute >> and multiple commit updates taking up to 10 minutes). We have the git >> plugin setup to poll every 2 minutes. >> >> Doing some debugging I see jenkins running this command as an example: >> >> {code} >> git show --no-abbrev --format=raw -M --raw >> 78647a604113f2a92bc5a2bcfe66d11f32b9eb5d..dfa77c7d049c3f50ca4dc40905320f5479a54227 >> {code} >> >> This commands appears to take up a lot of time as I did a `ps aux | grep >> git` multiple times over a few minutes and the above git command was >> displayed while top showed git taking up 99% of the jenkins server's cpu. >> >> Jenkins log: >> >> Started on Jan 28, 2013 11:34:50 AM >> Using strategy: Default >> [poll] Last Build : #109 >> [poll] Last Built Revision: Revision >> da02f948df4007572b88b7a5cf9734065c1fe2c7 (origin/-----) >> Fetching changes from the remote Git repositories >> Fetching upstream changes from [email protected]:---/----.git >> Polling for changes in >> Done. Took 7 min 17 sec >> Changes found >> >> >> Is there some way to speed up this command? (via changing jenkins >> configuration or possibly a server config change). >> >> -- >> 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. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -Ryan -- 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.
