Community
Participate
Working Groups
Hello, I was trying to implement push using svn post-commit hooks. I've met a problem that post-commit was very slow a took about 3 minutes to complete. Subversion repository status logger showed below entries A. Oct 4, 2013 10:35:47 AM hudson.scm.SubversionRepositoryStatus doNotifyCommit FINE: Scheduling the immediate polling of FreeStyleProject[my_test_job] B. Oct 4, 2013 10:35:47 AM hudson.scm.SubversionRepositoryStatus doNotifyCommit WARNING: Failed to handle Subversion commit notification for FreeStyleProject[another_job]Exception mesasge org.tmatesoft.svn.core.SVNException: svn: E175002: OPTIONS of '/svn/path/to/another/job/repository/repo$REVISION_NUMBER': 500 Internal Server Error (https://svn/server/) Output from wget (used in post commit to trigget build) showed --2013-10-04 10:35:44-- https://myHudsonServer/subversion/<UUID>/notifyCommit?rev=1551 Resolving vanaheim.tt.com.pl... 192.168.210.73 Connecting to vanaheim.tt.com.pl|192.168.210.73|:443... connected. HTTP request sent, awaiting response... Read error (Connection timed out) in headers. After removing $REVISION_NUMBER parameter from repository url, all was working fine. I guess that svn plugin doesn't check whether path has parameters.
Can you please give more details on how you set up the jobs (screenshot would help) and the SVN URL with parameters. I've tried SVN URL with simple String parameter and with that the SVN commit hook seems to work fine though
Created attachment 236333 [details] screenshot with parametrized job configuration Here's a screenshot with parametrized job configuration