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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.