Bug 418657 - Subversion plugin notify commit fails when svn url is parameterized
Summary: Subversion plugin notify commit fails when svn url is parameterized
Status: ASSIGNED
Alias: None
Product: Hudson
Classification: Technology
Component: Plugins (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows 7
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact: Geoff Waymark CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-04 05:10 EDT by Ireneusz Grala CLA
Modified: 2013-10-10 09:52 EDT (History)
2 users (show)

See Also:


Attachments
screenshot with parametrized job configuration (36.82 KB, image/png)
2013-10-10 09:52 EDT, Ireneusz Grala CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ireneusz Grala CLA 2013-10-04 05:10:07 EDT
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.
Comment 1 Winston Prakash CLA 2013-10-09 19:30:47 EDT
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
Comment 2 Ireneusz Grala CLA 2013-10-10 09:52:39 EDT
Created attachment 236333 [details]
screenshot with parametrized job configuration

Here's a screenshot with parametrized job configuration