Skip to content

cloudbees-io/bitbucket-run-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

CloudBees action: Run a Bitbucket pipeline

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

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

License

This code is made available under the MIT license.

References