Thank you for your replies. We are trying to migrate from Cruise Control, so there a build failure did not receive a build number. I am trying to mimic some Cruise Control behavior to help convince my group to migrate. If too many things are different, I don't think I will get approval.
Peter On Thursday, September 5, 2013 9:04:38 AM UTC-5, Jes Struck wrote: > > I must claim that i think you are going in the wrong direction. > > But if you really what to do this, i think it can be done by hacking the > file placed $hudson/jobs/<job-name>/nextBuildNumber in the end of you build > if you now it failed, this would probably work best if implemented in > groovy where you have access to the model. > > or you might be able to do it directly from groovy or with a java plugin. > > > Mark: > it's been a vile but i now that for at least a couple of years ago it was > possible it simply overwritten what ever was in the folder with the new > result. > > > > > 2013/9/5 peterman1002 <[email protected] <javascript:>> > >> 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. >> >> Thank you, >> Peter >> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > > [image: > ____________________________________________________________]<http://www.praqma.net/> > *Jes Struck, * > Consultant > [email protected] <javascript:> > +45 31 42 09 00 > Skype:jes.struck *Praqma A/S* > www.praqma.net > Allerød Stationsvej 4 > DK-3450 Allerød > +45 36 77 27 62 <http://www.praqma.net/jciusrcph12> > <http://www.praqma.net/jcicodecamp12> > > -- 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.
