Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-16121

Bamboo REST API: Means to find out about the (branch) result triggered by a commit

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • REST API
    • None
    • 1
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      As a User I want to trigger Bamboo plans on new commits in my VCS and be able to learn about their result.

      Currently Bamboo offers a generic REST API Endpoint BAMBO_URL/updateAndBuild.action?buildKey=PLAN-KEY which can be used to trigger the build of affected branches (i.e. PLAN-KEY13). If it is a new branch this trigger will do nothing at first, but the automatic branch detection will setup a new branch plan (ie. PLAN-KEY32) and start it automatically.

      The current rest API does not offer any means to find out about the status and/or result of this call. As User I do know about the VCS revision number which triggered my build (i.e. Git Hash oder Subversion Commit Number). But I do not know anything about the associated Bamboo Branch Plan as those are managed by Bamboo itself.

      Gitlab tried to use the labelling feature to circumvent this, but this seems to have stopped working because the REST API no longer allows to search for branch results by label.

      Bamboo should offer a REST API Endpoint which allows to query the plan results associated with a given VCS Revision Number. Or at least allow to query branch plan results by label.

              Unassigned Unassigned
              bdf955c4a8dd Benjamin Schmid
              Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: