I think the nextBuild.number is the one you search. When a build errors or fails, the buildnumber is not assigned and reused on the next build. nextBuild.number is the build number assigned to this build if it succeeds.
Hth, Nick S. -----Original Message----- From: Robin Roos [mailto:[EMAIL PROTECTED] Sent: Tue 3/11/2008 17:49 To: [email protected] Subject: RE: continuum.project.currentBuild.number Hi Stefano I am aware of lastBuild.number and nextBuild.number. I am specifically looking for currentBuild.number. Thanks, Robin. -----Original Message----- From: Stefano Fornari [mailto:[EMAIL PROTECTED] Sent: 11 March 2008 16:45 To: [email protected] Subject: Re: continuum.project.currentBuild.number Hi, yes, if you look in the continuum log, you find something like: Executing: /bin/sh -c 'cd /media/maxtor/forge/working-directory/28 && /opt/apache-maven-2.0.8/bin/mvn --batch-mode --non-recursive -Dcontinuum.project.lastBuild.state=2 -Dcontinuum.project.nextBuild.number=16 "-Dcontinuum.project.group.name=Funambol Open Source Edition" -Dcontinuum.project.lastBuild.number=15 deploy' HTH Ste On Tue, Mar 11, 2008 at 5:38 PM, Robin Roos <[EMAIL PROTECTED]> wrote: > Hi Folks > > I installed and configured Continuum today and must say I am very > impressed. > > I've read the FAQ and trolled through JIRA. I'd like to ask when the > property continuum.project.currentBuild.number (or an equivalent) will > become available. I'm currently using > continuum.project.lastBuild.number to drive the <version> information > of my maven2 pom.xml. At least every artifact gets a build number, > but it currently gets the previous build number. So build 5 > generates artifacts called 9.2.0-build-4. I can live with this for a > while, but it would be useful to have some perspective on the > potential fix version for this new feature. > > Thanks, Robin. > > _____________________________________________________________________ > Before acting on this e mail or opening any attachment please read > the disclaimer which can be accessed at > http://www.investec.com/EmailDisclaimer/UKEmailDisclaimer.htm > Investec Bank (UK) Limited is authorised and regulated by the Financial Services Authority. > _____________________________________________________________________ > > _____________________________________________________________________ > This e-mail has been scanned for viruses by MCI's Internet Managed > Scanning Services - powered by MessageLabs. For further information > visit http://www.mci.com > > Investec Bank (UK) Limited > Registered office: 2 Gresham Street, London, EC2V 7QP Company No: > 00489604 Incorporated in England and Wales -- Stefano Fornari - Funambol CTO ======================================================= Home: http://www.funambol.org Documents: http://www.funambol.org/documentation/documents.html FAQ: http://www.funambol.org/support/faq.html WIKI: https://wiki.objectweb.org/sync4j/ Mailinglist archives: http://groups.yahoo.com/group/Sync4j (login required) http://sourceforge.net/mailarchive/forum.php?forum_id=215 (sync4j-users) http://sourceforge.net/mailarchive/forum.php?forum_id=48877 (funambol-dev) _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.verizonbusiness.com/uk _____________________________________________________________________ Before acting on this e mail or opening any attachment please read the disclaimer which can be accessed at http://www.investec.com/EmailDisclaimer/UKEmailDisclaimer.htm Investec Bank (UK) Limited is authorised and regulated by the Financial Services Authority. _____________________________________________________________________ _____________________________________________________________________ This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com Investec Bank (UK) Limited Registered office: 2 Gresham Street, London, EC2V 7QP Company No: 00489604 Incorporated in England and Wales
