windows batch file

4 messages Options
Embed this post
Permalink
Hokumet

windows batch file

Reply Threaded More More options
Print post
Permalink
 I know that its possible with hudson to
 ----- Execute a windows batch file
 ----- Send some parameters that can be used in that batch file

My question is:
Can I get result of some calculations back to hudson?
So instead of parameters that goes into the batch file I want some parameters from the batch file that has updated values.

Please tell me if its possible.

greeting
Hokumet
Clemens Anhuth-3

Re: windows batch file

Reply Threaded More More options
Print post
Permalink
Hokumet wrote:
>  I know that its possible with hudson to
>  ----- Execute a windows batch file
>  ----- Send some parameters that can be used in that batch file
>
> My question is:
> Can I get result of some calculations back to hudson?
> So instead of parameters that goes into the batch file I want some
> parameters from the batch file that has updated values.
>  

Hello Hokumet,

where do you want these values to go to? Do you want Hudson to store
them in ~/myhudsonprojectdata?



Kind regards

Clemens Anhuth

--
www.froglogic.com - Squish - Multi-Platform GUI Testing

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Hokumet

Re: windows batch file

Reply Threaded More More options
Print post
Permalink
I want to send the batch file a configured parameter from hudson. Then use the batchfile to update this parameter. The data that the parameter should get is an url. After this I can see the updated value of the parameter maybe on the parameter menu of the last build.

Or is there another way to get the url from the batch file and show it somewhere on the last build page?


Clemens Anhuth-3 wrote:
Hokumet wrote:
>  I know that its possible with hudson to
>  ----- Execute a windows batch file
>  ----- Send some parameters that can be used in that batch file
>
> My question is:
> Can I get result of some calculations back to hudson?
> So instead of parameters that goes into the batch file I want some
> parameters from the batch file that has updated values.
>  

Hello Hokumet,

where do you want these values to go to? Do you want Hudson to store
them in ~/myhudsonprojectdata?



Kind regards

Clemens Anhuth

--
www.froglogic.com - Squish - Multi-Platform GUI Testing

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@hudson.dev.java.net
For additional commands, e-mail: users-help@hudson.dev.java.net
Daniel Becroft

Re: windows batch file

Reply Threaded More More options
Print post
Permalink
On Wed, Nov 4, 2009 at 9:16 PM, Hokumet <[hidden email]> wrote:

I want to send the batch file a configured parameter from hudson. Then use
the batchfile to update this parameter. The data that the parameter should
get is an url. After this I can see the updated value of the parameter maybe
on the parameter menu of the last build.

Or is there another way to get the url from the batch file and show it
somewhere on the last build page?

You could try using a paramerised build - the parameters entered here are available as environment variables through the batch file.

As for the display of the updated value, you might need to do it via the console output or similar.

Regards,
Daniel B.