Re: cruisecontrol build Numbering
James Loghry <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
If you take a look at the net.sourceforge.cruisecontrol.labelincrementers package, you'll find a set of predefined build label incrementers (these are the classes that dictate how your build label is shown/incremented). The default one is "DefaultLabelIncrementer". If you wish to use a different label incrementer, you can define one as a plugin in your config.xml. The config would look something like this <cruisecontrol> ... <plugin name="newbuildincrementer" classname="net.sourceforge.labelincrementers.NewBuildLabelIncrementer" /> ... <plugin name="project> ... <newbuildlabelincrementer param1="" param2="" /> </plugin> <project name="" /> </cruisecontrol> If you wish to create your own label incrementer, it is actually fairly easy, just create a class that extends one of the pre-existing labelincrementers, build, package it and then create a plugin in the config.xml shown above. Otherwise, it looks like there is a PropertyFileLabelIncrementer that may do what you are asking. HTH - J On Mon, Aug 10, 2009 at 1:18 PM, svenkat.cm <[email protected]> wrote: > > Hi Folks > We are using cruisecontrol in a big way as our CI. Our product is > supporting 12 platforms and we are using maven as our build framework > > for each platform we have 4 cruisecontrol setups to address the different > stages of the maven build life cycle. Currently build number is assigned by > cruisecontrol and the numbers are different for each cruisecontrol setup. > Its very difficult to map the different cruisecontrol build like > > for e.g build#100 of test build is mapped to build#70 of deploy build. > > I would like to customise my cruisecontrol build number in such a way that > build numbers are common across all the cruisecontrol setups. > > Let's say i have a file where i can update my buildnumber and i need to > pass > the buildnumber to cruisecontrol so that it assigns that number. Please > let > me know how to achieve this. > > Thanks > -Venkat > -- > View this message in context: > http://www.nabble.com/cruisecontrol-build-Numbering-tp24904747p24904747.html > Sent from the CruiseControl - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user