Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 12342 invoked from network); 13 Aug 2008 21:42:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2008 21:42:29 -0000 Received: (qmail 84793 invoked by uid 500); 13 Aug 2008 21:42:27 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 84754 invoked by uid 500); 13 Aug 2008 21:42:27 -0000 Mailing-List: contact users-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@continuum.apache.org Delivered-To: mailing list users@continuum.apache.org Received: (qmail 84743 invoked by uid 99); 13 Aug 2008 21:42:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 14:42:27 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.1.183] (HELO exprod6og102.obsmtp.com) (64.18.1.183) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 13 Aug 2008 21:41:31 +0000 Received: from source ([168.230.130.248]) by exprod6ob102.postini.com ([64.18.5.12]) with SMTP; Wed, 13 Aug 2008 14:41:31 PDT Received: from STPMSGMB01.corp.fairisaac.com ([10.32.5.92]) by STPMSGPF00.corp.fairisaac.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 13 Aug 2008 16:41:46 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to pass Continuum build number and project version to a batch file? Date: Wed, 13 Aug 2008 16:41:45 -0500 Message-ID: <41A3BED1DB16944EA46CC3114E5A7FF306121BAF@STPMSGMB01.corp.fairisaac.com> In-Reply-To: <9948cb690808131405g628c6d64lc41cece97c33dc33@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to pass Continuum build number and project version to a batch file? thread-index: Acj9iGWr3k/eJ+yUSjWEqfigUvORMQABF/hw References: <41A3BED1DB16944EA46CC3114E5A7FF30612197C@STPMSGMB01.corp.fairisaac.com> <41A3BED1DB16944EA46CC3114E5A7FF306121B48@STPMSGMB01.corp.fairisaac.com> <9948cb690808131405g628c6d64lc41cece97c33dc33@mail.gmail.com> From: "Tawfik, Sameh E" To: X-OriginalArrivalTime: 13 Aug 2008 21:41:46.0604 (UTC) FILETIME=[629272C0:01C8FD8D] X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure what do you mean by cli? And where the location of the log files?=20 Also, when Continuum starts running the build that is the time, when I need to pass the continuum.project.nextBuild.number to the batch file that actually runs the full build.=20 Right now, Continuum runs the batch file as a shell project type, and I just want to pass the value of continuum.project.nextBuild.number to the batch file, so how to do that? Sameh -----Original Message----- From: oliver.lamy@gmail.com [mailto:oliver.lamy@gmail.com] On Behalf Of Olivier Lamy Sent: Wednesday, August 13, 2008 2:05 PM To: users@continuum.apache.org Subject: Re: How to pass Continuum build number and project version to a batch file? Hi, The cli is display in the logs You should have : -Dcontinuum.project.group.name=3D -Dcontinuum.project.lastBuild.state=3D -Dcontinuum.project.lastBuild.number=3D -Dcontinuum.project.nextBuild.number=3D in 1.2 you will have -Dcontinuum.project.id=3D -Dcontinuum.project.name=3D -Dcontinuum.project.version=3D -- Olivier 2008/8/13 Tawfik, Sameh E : > > I'm trying to pass Continuum next build number value to a batch file > when Continuum runs a build. > > Does anyone know what the syntax to accomplish this simple task? > > Sameh > > > > -----Original Message----- > From: Tawfik, Sameh E [mailto:SamehTawfik@fairisaac.com] > Sent: Tuesday, August 12, 2008 5:14 PM > To: continuum-users@maven.apache.org > Subject: How to pass Continuum build number and project version to a > batch file? > > > I'm using Continuum 1.1 on Windows server 2003. > > In my project, I specified the following: > > Arguments: project.version continuum.project.nextBuild.number > > I also tried: ${project.version} ${continuum.project.nextBuild.number} > > Build file: RmTest.cmd > > > But the arguments never expanded to the values of the project.version > and continuum.project.nextBuild.number? > > Does anyone know what the right syntax to use these parameters is? So, I > can pass their values to the batch file? > > Thanks, > > Sameh > This email and any files transmitted with it are confidential, > proprietary > and intended solely for the individual or entity to whom they are > addressed. > If you have received this email in error please delete it immediately. > > > This email and any files transmitted with it are confidential, proprietary > and intended solely for the individual or entity to whom they are addressed. > If you have received this email in error please delete it immediately. > > This email and any files transmitted with it are confidential, proprietar= y and intended solely for the individual or entity to whom they are address= ed. If you have received this email in error please delete it immediately. =0D