Oups sorry not possible for a shell.
But you have it for ant, you can write a simple ant script which
launch your shell and the variables to your script.

--
Olivier

2008/8/13 Tawfik, Sameh E <[EMAIL PROTECTED]>:
>
> I'm not sure what do you mean by cli? And where the location of the log
> files?
>
> 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.
>
> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
> Olivier Lamy
> Sent: Wednesday, August 13, 2008 2:05 PM
> To: [email protected]
> 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=
> -Dcontinuum.project.lastBuild.state=
> -Dcontinuum.project.lastBuild.number=
> -Dcontinuum.project.nextBuild.number=
>
> in 1.2 you will have
>
> -Dcontinuum.project.id=
> -Dcontinuum.project.name=
> -Dcontinuum.project.version=
>
>
> --
> Olivier
>
> 2008/8/13 Tawfik, Sameh E <[EMAIL PROTECTED]>:
>>
>> 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:[EMAIL PROTECTED]
>> Sent: Tuesday, August 12, 2008 5:14 PM
>> To: [EMAIL PROTECTED]
>> 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, 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.
>
>

Reply via email to