-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
Subversion change detection uses the latest repository revision not the latest revision at the specified repository url.
If there is another project in the same repository that has a later commit than the subtree changes are detected on then custom.svn.revision.number will be set to the revision of that project and not the latest change in the working copy. This is an issue for users who wish to brand their artifacts using custom.svn.revision.number because even if their project has not changed subsequent builds will produce artifacts with different revision number stamps if there have been other changes made in the repository.
One possible way of fixing this is to replace the use of repository.getLatestRevision and use the "Last change rev" revision id from an svn info command instead (in SVNKit this is called the "committed version").
- causes
-
BAM-5308 Revert BAM-5006 - it has broken the functionality of ${bamboo.custom.svn.revision.number}
-
- Closed
-
-
BAM-5400 SVN checkouts are not based on the global repository revision number
-
- Closed
-
- is related to
-
BAM-5308 Revert BAM-5006 - it has broken the functionality of ${bamboo.custom.svn.revision.number}
-
- Closed
-