HiI am using the below command to trigger a cutomeized plan where it is running fine with only one variablecurl -XPOST -u username:passwd https://bamboo-starterkit.abc.com/rest/api/latest/queue/BUILDKEY?bamboo.variable.var_name1=etcetcBut job is not sucessfull when there are more variables. which we are giving form curl:curl -XPOST -u username:passwd https://bamboo-starterkit.abc.com/rest/api/latest/queue/BUILDKEY?bamboo.variable.var_name1=var1&bamboo.variable.var_name2=var2-vPlease help me second command where i am going wrong.
Thanks
Srinivas
Hi @Srinivas Reddy ,
Could you please place the URL between quotes and give another try, e.g:
# replace {USERNAME} with a user that can run build# replace {PASSWORD} with {USERNAME}'s password# replace {PLAN_KEY} with plan you would like to run build from, e.g PROJ-PLANcurl -k -u {USERNAME}:{PASSWORD} \-X POST "https://bamboo-starterkit.abc.com/rest/api/latest/queue/{PLAN_KEY}?bamboo.variable.var_name1=var1&bamboo.variable.var_name2=var2-v"
As a result, you would find:
Kind regards,Rafael
Thanks RafaelAlready found out solution before. What you mentioned is right it work's perfectly.
Thanks Rafael,
A very big thanks
It looks like you're new here. Sign in or register to get started.