05.09.2013 16:36, peterman1002 wrote:
Hello,

I am new to Jenkins and trying to setup my build environment.  I have
noticed that when a build fails, the build number is still incremented.
How can I prevent Jenkins from doing this?  I'm not here to start a
debate on whether that is the correct behavior or not.  I just want to
know how I can do this for my environment here.

Well that's wrong as any failed build results in mailings and logs tailed to them. You don't need them to be tied up to the next successfull build, don't you?

If you need to count "good" build maybe you need to look at Version Number Plug-In? (https://wiki.jenkins-ci.org/display/JENKINS/Version+Number+Plugin) It can create your own $VERSION based on how many successful builds were in total, today or this month.

--
Sphinx of black quartz, judge my vow.

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to