Use this action to trigger a Bitbucket pipeline. Atlassian Bitbucket Pipelines is a CI/CD tool.
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The Bitbucket URL. |
|
String |
Yes |
The Bitbucket token. |
|
String |
Yes |
The Bitbucket workspace name. |
|
String |
Yes |
The Bitbucket repository name. |
|
String |
Yes |
The Bitbucket branch name. |
In your YAML file, add:
- name: Run Bitbucket pipeline
uses: cloudbees-io/bitbucket-run-pipeline@v1
with:
url: ${{ vars.BITBUCKET_URL }}
token: ${{ secrets.BITBUCKET_TOKEN }}
workspace-name: my_workspace
repository-name: my_repo
branch-name: main
This code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.