Bamboo Configuration

How to Construct a Webhook URL?

When configuring Build Triggers in your CI/CD tool, refer to the instructions below the Authentication Token field for the URL used to trigger the build remotely.

Normal Project + Project with Parameters

The following is an example of how to construct the Webhook URL for a normal project as well as a project with parameters in Bamboo.

The URL suggested in Bamboo during the configuration of Build Triggers:

The Webhook URL provided above follows this syntax:

<bamboo_base_url>/rest/api/latest/queue/${projectKey}-${planKey}

If your Bamboo instance URL is http://qtmqabamboo.qmetry.com:8085

Then the URL to trigger the build is:

http://qtmqabamboo.qmetry.com:8085/rest/api/latest/queue/NT-NP1

Authorization

To supply the Authorization header with the value Basic <auth>, perform the following steps:

  1. Build a string in the format username:password using your Bamboo credentials.

  2. Encode the string in Base64 format.

  3. Supply an Authorization header with content Basic followed by the encoded string. For example, the string admin:admin encodes to YWRtaW46YWRtaW4K in Base64. So the Basic <auth> value would be as follows: Basic YWRtaW46YWRtaW4K.

Configure CI/CD Rule for Bamboo

CI/CD Rule Without Parameters

Users can trigger the CI/CD Rule for Bamboo jobs without parameters and for parameterized Bamboo jobs. This section displays the CI/CD Rule trigger for Bamboo jobs without parameters.

Example configuration of a Bamboo CI/CD rule without parameters in QMetry.

CI/CD Rule With Query Parameters

Users can trigger the CI/CD Rule for parameterized Bamboo jobs. The parameterized job contains global variables in the Bamboo configuration.

Example configuration of a Bamboo CI/CD rule with query parameters in QMetry.
Publication date: