CloudBees action: Run a Bitbucket pipeline

1 minute read

Use this action to trigger a Bitbucket pipeline. Atlassian Bitbucket Pipelines is a CI/CD tool.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

url

String

Yes

The Bitbucket URL.

token

String

Yes

The Bitbucket token.

workspace-name

String

Yes

The Bitbucket workspace name.

repository-name

String

Yes

The Bitbucket repository name.

branch-name

String

Yes

The Bitbucket branch name.

Usage example

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