Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » hudson and .svn
hudson and .svn [message #903731] Sat, 25 August 2012 08:05 Go to next message
Maxim Kiselev is currently offline Maxim KiselevFriend
Messages: 11
Registered: August 2012
Junior Member
Hi all.

I have found one moment, that is very strange for me. When I update svn repository manually, .svn folder has next structure:

/prop-base
/props
/text-base
/tmp
all-wcprops
dir-prop-base
entries

but when hudson update before building, it .svn has other structure:

/pristine
/tmp
entries
format
wc.db

And these differents cause problem during my building =(
Why it so? How I can get .svn structure which created by hudson similar to .svn structure which created manually?

Thanks.
Re: hudson and .svn [message #903733 is a reply to message #903731] Sat, 25 August 2012 08:11 Go to previous messageGo to next message
Steve Christou is currently offline Steve ChristouFriend
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

The svn update you are doing manually is being done on an older version of svn, probably 1.6. Hudson uses svn 1.7 by default which is said to have some major speed improvements.

The tree structure for svn 1.6 is to put a .svn folder in each individual folder, where svn 1.7 puts the .svn folder in the root location which is why you are seeing less.

To validate my theory, run "svn --version" via command line and make sure to update to the latest version, either that or go into manage hudson > configure system and change the workspace version to 1.6(svn:external to file).


/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Re: hudson and .svn [message #903734 is a reply to message #903733] Sat, 25 August 2012 08:25 Go to previous messageGo to next message
Maxim Kiselev is currently offline Maxim KiselevFriend
Messages: 11
Registered: August 2012
Junior Member
I don't know why, but I can't set in hudson > configure system svn 1.7 at all(hudson version 2.2.1) and there is set 1.6(svn:external to file).
"svn --version" in hudson build step returns: svn, version 1.6.17 (r1128011)
My client has 1.6.17 too and because differents in .svn structures are puzzle for me...

[Updated on: Sat, 25 August 2012 08:27]

Report message to a moderator

Re: hudson and .svn [message #903736 is a reply to message #903734] Sat, 25 August 2012 09:38 Go to previous messageGo to next message
Steve Christou is currently offline Steve ChristouFriend
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

What version of the svn plugin are you using? I believe you are using an older version. I accidentally released a version with svn 1.7, but forgot to put that as an option. Make sure version 2.3.3 is installed.

When you do svn --version though a build step you will see the same version because the svn plugin has it's own svn library called svnkit (version 1.7.4) which allows you to do things like svn update without having to actually install svn.


/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Re: hudson and .svn [message #903737 is a reply to message #903736] Sat, 25 August 2012 09:44 Go to previous messageGo to next message
Maxim Kiselev is currently offline Maxim KiselevFriend
Messages: 11
Registered: August 2012
Junior Member
My svn plugin version 2.3.3 too
Re: hudson and .svn [message #903740 is a reply to message #903737] Sat, 25 August 2012 10:44 Go to previous messageGo to next message
Maxim Kiselev is currently offline Maxim KiselevFriend
Messages: 11
Registered: August 2012
Junior Member
I have done downgrade hudson to 2.2.0 and it solved my problem! I suppose, that maybe it is bug in version 2.2.1.
Re: hudson and .svn [message #903741 is a reply to message #903740] Sat, 25 August 2012 10:59 Go to previous message
Steve Christou is currently offline Steve ChristouFriend
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

Yes you are right! After upgrading the pom.xml file to 2.2.1 I am finding that a couple critical test units are failing. The pom is currently set for 2.2.0 which seems to have no issues. I will fix these and run a quick test along with a release for it ASAP.

/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Previous Topic:GIT No changes on repo -> Nothing to do FAILURE
Next Topic:LDAP roles as parameters to scripts
Goto Forum:
  


Current Time: Fri Apr 19 20:20:59 GMT 2024

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

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

Back to the top