-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVN isn't working with url http://W.X.Y.Z/svn/company/branches/branch-name/project #56
Comments
Hi, thanks for reporting this. Do you configure the plugin in any way, in your Thanks, |
And which version of the plugin do you use? |
Hi, thanks for the reply. i'm currently using 2.7.1.
the only thing I've done was to configure the plugin like
then I got when I enter my svn credentials like
I got
|
Hi, By default, the versioning plugin expects your local working copy to be either:
In your case, it is mapped to That's a default though, computing the current branch from the working directory. You can also pass the branch name explicitly in the
Then, set the environment locally (for Linux/MacOs):
Not perfect, but as of now, this plugin does a best effort to use a default layout for Subversion, difficult to take into account all possible configurations, especially with Subversion. |
Thanks for the workaround I will try it ^^ |
I've got the same error when I try to build from a SVN tag. |
If I try to use this extension under SVN I always get
The SVN URL cannot be identified as a
trunkor a branch: http://192.168.0.1/svn/company/branches/branch-name/project
I looked into the code and found out that in SVNInfoService.groovy in function parseBranch the Pattern
/.*\/trunk$/
and/.*\/branches\/([^\/]+)$/
in combination with match() don't work for me.It worked when I remove the '$' in both Patterns and use find() instead of match().
Did someone else had this problem?
The text was updated successfully, but these errors were encountered: