Parameterized Build

compared with
Current by Robert Coup
on Nov 09, 2010 13:49.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (5)

View page history

{noformat}http://server/job/myjob/buildWithParameters?PARAMETER=Value
{noformat}To use this properly with wget, you need to quote the URL.
Apparently the parameter _delay=0sec_ can be used.
{noformat}
* All parameters need to be properly URL-escaped. To use with wget, quote the URL on the command line too.
* The parameter _delay=0sec_ can be added to start the build immediately.
* To use a Run Parameter, the value should be in the format _jobname#buildNumber_ (eg. "&MyRunParam=foo-job#123")
*  If you are using an authorization token to trigger the builds (Job \-> Configure \-> 'Build Triggers' \-> 'Trigger builds remotely (e.g., from scripts)'), you can access:
{noformat}http://server/job/myjob/buildWithParameters?token=TOKEN\&PARAMETER=Value{noformat}
Note the "\&". 
 
{noformat}http://server/job/myjob/buildWithParameters?token=TOKEN\&PARAMETER=Value
{noformat}Note the "\&". 
h1. Limitations