Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Subversion parameter substition not working
Subversion parameter substition not working [message #1220938] Mon, 16 December 2013 04:28 Go to next message
Mark Hultzer is currently offline Mark Hultzer
Messages: 2
Registered: December 2013
Junior Member
I created a parameterized project with a 'list subversion tag'. In the 'Repository URL' I use a global variable; http:// xxx/svn/SubVersionRepository/trunk/versions/${CURRENT_RELEASE}
When at the 'Job configurations' screen this works fine, the svn log shows:
xxx - xxx [16/Dec/2013:10:24:00 +0100] "PROPFIND /svn/SubVersionRepository/!svn/bc/44875/trunk/versions/2011-07 HTTP/1.1" 207 245 0

However at the buildscreen the parameter is not substituted and I of course get an error 'An SVN exception occurred while listing the directory entries.
If you trigger the build, it will likely fail.'. The svn logs shows:
xxx - xxx [16/Dec/2013:10:25:20 +0100] "PROPFIND /svn/SubVersionRepository/!svn/bc/44875/trunk/versions/$%7BCURRENT_RELEASE%7D HTTP/1.1" 404 278 0


is this a bug?

Re: Subversion parameter substition not working [message #1221106 is a reply to message #1220938] Mon, 16 December 2013 17:46 Go to previous messageGo to next message
Winston Prakash is currently offline Winston Prakash
Messages: 406
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Try

http://xxx/svn/SubVersionRepository/trunk/versions/$CURRENT_RELEASE


Note: $CURRENT_RELEASE instead of ${CURRENT_RELEASE}

Just tested, with $CURRENT_RELEASE and its values as 3.1.2 and it worked

https://svn.java.net/svn/hudson-test~tpc-test/$CURRENT_RELEASE

Started by user wjprakash
Building remotely on slave3
Checking out a fresh workspace because there's no workspace at /usr/opt/hudson/slave-home/workspace/simple-test
Cleaning workspace /usr/opt/hudson/slave-home/workspace/simple-test
Checking out https://svn.java.net/svn/hudson-test~tpc-test/3.1.2


Winston Prakash
Eclipse Hudson team
Re: Subversion parameter substition not working [message #1221247 is a reply to message #1221106] Tue, 17 December 2013 02:51 Go to previous message
Mark Hultzer is currently offline Mark Hultzer
Messages: 2
Registered: December 2013
Junior Member
as far as I can see you tested this for the Source Code Management url? this is working for me as well but the problem is with the 'list subversion tag' parameter in a parameterized build, when I use a variable in the url it is not substituted in the buildscreen (before you press build):
 	svnrepos	
An SVN exception occurred while listing the directory entries.
If you trigger the build, it will likely fail.
Select a Subversion tag
Previous Topic:Error occurs dirung deploy war/ear to a container about DeploymentManager
Next Topic:Hudson Migration Steps from 2.2.0 to 3.0.1 on windows2008 server
Goto Forum:
  


Current Time: Wed Aug 27 17:16:45 EDT 2014

Powered by FUDForum. Page generated in 0.03463 seconds