I know how to call run a bamboo plan using a REST api call with one parameter/variable.
curl -s -X POST --user ${USER} 'http://bamboo:8080/rest/api/latest/queue/PROJ-PLANNAME?os_authType=basic?bamboo.variable.MY_PLAN_VARIABLE=300'
Can anyone please tell me how to do the same, if i have to pass multiple parameters to run a bamboo plan.
Example: curl -s -X POST --user ${USER} 'http://bamboo:8080/rest/api/latest/queue/PROJ-PLANNAME?os_authType=basic?bamboo.variable.MY_PLAN_VARIABLE=300,bamboo.variable.MY_PLAN_VARIABLE2=Test' ?
Hi Kamal! How are you doing?
In order to pass more than one variable, you have to separate them using a & signal.
Hope this helps!
Thanks,
Cristiano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.