Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-4
-
Fix Version/s: 2.0-beta-5
-
Component/s: scm
-
Labels:None
-
Number of attachments :
Description
Testing release 2.0-beta4. My original scm urls are like this:
<scm>
<connection>scm:svn:http://sv1.tus.stchome.com/svn/training/products/dsms/release-branches/dsms-2.1</connection>
<developerConnection>scm:svn:http://sv1.tus.stchome.com/svn/training/products/dsms/release-branches/dsms-2.1</developerConnection>
<url>http://sv1.tus.stchome.com/viewvc/stc/products/dsms/release-branches/dsms-2.1</url>
</scm>
after the prepare, they end up like this:
<scm>
<connection>scm:svn:http://sv1.tus.stchome.com/svn/training/products/dsms/build-tags/t5</connection>
<developerConnection>scm:svn:http://sv1.tus.stchome.com/svn/training/products/dsms/build-tags/t5</developerConnection>
<url>http://sv1.tus.stchome.com/svn/training/products/dsms/build-tags/t5</url>
</scm>
Notice the url lost the viewvc reference and ended up with a direct svn url. After a release:perform, the url ends up back to viewvc so only the tag is modified.
Issue Links
- relates to
-
MRELEASE-231
Rewriting scm urls when a tagBase parameter is present.
-
release plugin execute this method :
SvnTagBranchUtils.resolveUrl( "http://sv1.tus.stchome.com/viewvc/stc/products/dsms/release-branches/dsms-2.1", "http://sv1.tus.stchome.com/viewvc/stc/products/dsms/build-tags", SvnTagBranchUtils.SVN_TAGS, "t5" );
I guess you used http://sv1.tus.stchome.com/viewvc/stc/products/dsms/build-tags as tagBase and t5 as tag name
The result is http://sv1.tus.stchome.com/viewvc/stc/products/dsms/build-tags/t5