I need to pass a few parameters in the job that will be triggered remotely.
Is it possible?
views:
334answers:
2
+5
A:
The Hudson Wiki has a page about parameterized builds, which includes:
A build can be started just by accessing: http://server/job/myjob/buildWithParameters?PARAMETER=Value
TheDon
2010-02-04 13:02:59
A:
Hudson's JOB has an option:
Build Environment -> Configure M2 Extra Build Steps -> Add post-build step -> Execute Shell
So, you can execute wget by this option in this way:
wget="http://server/job/myjob/buildWithParameters?PARAMETER1=Value1\&PARAMETER2=Value2"
Try it! I have used it and it works! :)
Gadget
2010-08-04 19:15:01