You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Michael O'Cleirigh <mi...@rivulet.ca> on 2010/04/11 23:07:46 UTC

How does TeamCity collect Wicketsuff SVN changes (post commit hook or polling)?

Hello,

This message is a follow up to the TeamCity access issue with 
wicketstuff at sourceforge.net.

I asked about the access problem in the source forge irc support but the 
response was to have a project admin open up a ticket which is what 
didn't work last time.

I was wondering if TeamCity was setup to continuously poll the SVN 
repository or if a post commit hook was being used?

I would think that triggering svn update only after a developer commits 
would generate less requests and hopefully prevent the build server from 
being blacklisted.

At work we use the post commit hook to fire a wget into our Hudson CI 
server that in turn triggers the svn update and build.

TeamCity seems to support the same:
http://confluence.jetbrains.net/display/TCD5/Accessing+Server+by+HTTP#AccessingServerbyHTTP-TriggeringaBuildFromScript

Sourceforge won't let projects directly edit the svn/hooks/post-commit 
file.  Instead they support several scripts that can be configured by a 
project admin.

There is no wget option available; the closest is the 'svnnotify' script 
that can send an email when a commit occurs.  I can provide a dedicated 
email address for this purpose and offer to write a script to convert 
the commit notifications into wget calls into teamcity which would 
active the build.  

Regards,

Mike



> Correct as always.
>
> I think Sf were convinced that it was not their problem or something.
> We actually switched from Bamboo to TeamCity for that reason.. I also
> created a separate project on google called wicketstuff, but we never
> could agree on using that instead of sf.
>
> regards Nino
>
> 2010/4/1 Igor Vaynberg <ig...@gmail.com>:
>   
>> sf.net keeps banning our TC instance because they think it access svn
>> too often. nothing we can do about it. i think nino filed a ticket
>> with them that never got resolved.
>>
>> -igor
>>
>> On Thu, Apr 1, 2010 at 6:48 AM, Michael O'Cleirigh
>> <mi...@rivulet.ca> wrote:
>>     
>>> Hello,
>>>
>>> Recently there has been some initiative in organizing more WicketStuff core
>>> releases and changes have been going into the sourceforge subversion
>>> repository for that effect.
>>>
>>> But there is a problem with Teamcity not being able to access the
>>> wicketstuff repository which prevents the updated artifacts being built and
>>> distributed into the maven snapshot repository.  I like to only checkout the
>>> specific submodules I work on and have m2eclipse resolve the parent from the
>>> snapshot repository; but that approach doesn't work when the snapshots are
>>> not being created.
>>>
>>> I searched the dev list archive and there was a problem like this in the
>>> past (Re: TeamCity on wicketstuff.org from November 29 2008).
>>>
>>> Here is a link to the build log with the
>>> '//org.tmatesoft.svn.core.SVNException: svn: connection refused by the
>>> server'//  error:
>>> http://wicketstuff.org/teamcity/viewLog.html?buildId=5903&tab=buildResultsDiv&buildTypeId=bt35
>>>
>>> It feels like the build server might be blacklisted in some way by
>>> sourceforge; although it could be something else.
>>>
>>> Does anyone know what was done before or have a contact from that time which
>>> could be used to get teamcity talking subversion again?
>>>
>>> Thanks,
>>>
>>> Mike
>>>
>>>
>>>
>>>
>>>
>>>       
>>