Within my Jenkins Job , i'm using an environment variable : $SVN_URL where:
$SVN_URL=http://svn.local:8080/svn/project1/trunk
i'm executing in a further step this shell command :
svn copy http://svn.local:8080/svn/project1/trunk http://svn.local:8080/svn/project1/tags/v$RELEASE_VERSION \
-m "Tagging the v$RELEASE_VERSION release"
this command can be replaced by this (using my $SVN_URL):
svn copy $SVN_URL http://svn.local:8080/svn/project1/tags/v$RELEASE_VERSION \
-m "Tagging the v$RELEASE_VERSION release"
But i still not able to optimise it for the second part which is :
http://svn.local:8080/svn/project1/tags/v$RELEASE_VERSION
So i wann use my $SVN_URL for it.
So to resume :
- My $SVN_URL contains :
http://svn.local:8080/svn/project1/trunk/
- i wanna retrieve from it the part :
/trunk/
- add it the part :
/tag/
Suggestions ?