I want to run/trigger bamboo plan branch from Rest API
Tried using https://<bamboo-url>/rest/api/latest/queue/{projectKey}-{buildKey}
this triggers my default plan branch in bamboo.
is there any option to trigger specific bamboo plan branch through REST API?
You need to pass buildKey of branch. Every plan branch has unique buildKey, for example master plan has key PRJ-PLAN-JOB1, then first plan branch will have key PRJ-PLAN0-JOB1, next one PRJ-PLAN1-JOB1. To see plan branch key check URL in browser when you see build results of plan branch
Thanks @Alexey Chystoprudov
It worked!
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.