Bitbucket
Start DoesQA Runs from Bitbucket Pipelines with the Universal Webhook.
Connect Bitbucket Pipelines to DoesQA so every push and pull request can start a Run as part of the same pipeline that builds your app. Bitbucket calls the Universal Webhook with a short curl step.
Why use it
Keep end-to-end coverage next to the code that changed.
Reuse the same CI/CD key, tags, and Recipes you already use elsewhere.
Preview Flow selection with GET before you wire the pipeline for real.
Before you start
Create an Active CI/CD webhook key under Settings → CI/CD. See CI / CD.
Copy your Account ID from Account Settings.
Add repository variables in Bitbucket, for example
DOESQA_KEYandDOESQA_ACCOUNT_ID. Mark the key as secured.
Add a pipeline step
In bitbucket-pipelines.yml:
pipelines:
default:
- step:
name: DoesQA Run
script:
- |
curl -sS -X POST \
"https://app.does.qa/api/hook/${DOESQA_ACCOUNT_ID}?key=${DOESQA_KEY}&withAll=smoke&label=bitbucket-${BITBUCKET_BUILD_NUMBER}&mode=wait"Select Flows and Values
Append the same query options as the Universal Webhook: withAll, withoutAny, recipe, ids, testsTagged, and URL-encoded values.
Example with a staging URL Value:
Related
Last updated