Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Subversion parameter substition not working
Subversion parameter substition not working [message #1220938] Mon, 16 December 2013 09:28 Go to next message
Mark Hultzer is currently offline Mark HultzerFriend
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 22:46 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
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 07:51 Go to previous message
Mark Hultzer is currently offline Mark HultzerFriend
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:How to manage git credentials
Goto Forum:
  


Current Time: Fri Apr 19 06:41:00 GMT 2024

Powered by FUDForum. Page generated in 0.02894 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top