2010-02-04 4 views

Répondre

7

Le Hudson Wiki a une page sur parameterized builds, qui comprend:

 
A build can be started just by accessing: 
http://server/job/myjob/buildWithParameters?PARAMETER=Value 
1

JOB Hudson a une option:

Build Environment -> Configure M2 Extra Build Steps -> Add post-build step -> Execute Shell 

Ainsi, vous pouvez exécuter wget par cette option de cette façon:

wget="http://server/job/myjob/buildWithParameters?PARAMETER1=Value1\&PARAMETER2=Value2" 

Essayez-le! Je l'ai utilisé et ça marche! :)

+1

Si vous utilisez un paramètre d'exécution, vous le faites fonctionner via '& SelectedRun = monjobname # 12345' – rcoup