Defining ParameterDefinition with default value defined at build time

4 messages Options
Embed this post
Permalink
Frédéric Camblor

Defining ParameterDefinition with default value defined at build time

Reply Threaded More More options
Print post
Permalink
Hi all ! 

I am looking for a way to create a ParameterDefinition which will allow to define default parameter value when I launch the build (not at configure time !). 

For example, I'd like to put current pom's version as my default parameter value (so, I have to look into working copy to retrieve the latest up-to-date information available at the moment I launch the build). 

Is there a workaround to deal with this problematic ? 

Thanks in advance ! 
Frederic
Frédéric Camblor

Re: Defining ParameterDefinition with default value defined at build time

Reply Threaded More More options
Print post
Permalink
(ping :-))

No idea ?

Frederic

2009/10/28 Frédéric Camblor <[hidden email]>
Hi all ! 

I am looking for a way to create a ParameterDefinition which will allow to define default parameter value when I launch the build (not at configure time !). 

For example, I'd like to put current pom's version as my default parameter value (so, I have to look into working copy to retrieve the latest up-to-date information available at the moment I launch the build). 

Is there a workaround to deal with this problematic ? 

Thanks in advance ! 
Frederic

Michael Donohue

Re: Defining ParameterDefinition with default value defined at build time

Reply Threaded More More options
Print post
Permalink
Are you writing a Hudson plugin?  This seems to be a usage question, rather than a development question, which would benefit from the larger audience on the Hudson users list:

-Michael
(646) 833-8884


On Tue, Nov 3, 2009 at 6:32 AM, Frederic Camblor <[hidden email]> wrote:
(ping :-))

No idea ?

Frederic

2009/10/28 Frédéric Camblor <[hidden email]>

Hi all ! 

I am looking for a way to create a ParameterDefinition which will allow to define default parameter value when I launch the build (not at configure time !). 

For example, I'd like to put current pom's version as my default parameter value (so, I have to look into working copy to retrieve the latest up-to-date information available at the moment I launch the build). 

Is there a workaround to deal with this problematic ? 

Thanks in advance ! 
Frederic


Frédéric Camblor

Re: Defining ParameterDefinition with default value defined at build time

Reply Threaded More More options
Print post
Permalink
Yep this is for an hudson plugin developpment ...

But isn't the dev mailing list made for these "dev" problematics ?
For me, Hudson "user" mailing list was pointing some "functional" purposes ... Am I wrong ?

Thanks
Frederic

On Tue, Nov 3, 2009 at 2:36 PM, Michael Donohue <[hidden email]> wrote:
Are you writing a Hudson plugin?  This seems to be a usage question, rather than a development question, which would benefit from the larger audience on the Hudson users list:

-Michael
(646) 833-8884


On Tue, Nov 3, 2009 at 6:32 AM, Frederic Camblor <[hidden email]> wrote:
(ping :-))

No idea ?

Frederic

2009/10/28 Frédéric Camblor <[hidden email]>

Hi all ! 

I am looking for a way to create a ParameterDefinition which will allow to define default parameter value when I launch the build (not at configure time !). 

For example, I'd like to put current pom's version as my default parameter value (so, I have to look into working copy to retrieve the latest up-to-date information available at the moment I launch the build). 

Is there a workaround to deal with this problematic ? 

Thanks in advance ! 
Frederic