neil-benn / svnrevisionlabeller

Automatically exported from code.google.com/p/svnrevisionlabeller
0 stars 0 forks source link

Option incrementOnFailure doesn't work #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
My Labeller-Block looks like this:

<labeller type="svnRevisionLabeller">
 <major>8</major>
 <minor>0</minor>
 <url>mysubversionurl</url>
 <incrementOnFailure>true</incrementOnFailure>
</labeller>

Example:
I build the project 3 times and get the following versions:
Build 1 (SVN-Revision 5, Build ok) - version is 8.0.1.5
Build 2 (SVN-Revision 10, Build failed) - version is 8.0.2.10
Build 3 (SVN-Revision 15, Build ok) - version is 8.0.2.15

For the last build I would expect version 8.0.3.15 instead of 8.0.2.15

Problem occured in versions 2.0.0.25545 and 3.0.0.24490 

Original issue reported on code.google.com by cberge...@gmail.com on 6 Oct 2010 at 2:12