continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy" <ol...@apache.org>
Subject Re: How to pass Continuum build number and project version to a batch file?
Date Wed, 13 Aug 2008 21:05:25 GMT
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 <SamehTawfik@fairisaac.com>:
>
> 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.
>
>

Mime
View raw message