The Bitbucket Runner Trigger plugin by Devtron enables integration between Devtron CI/CD workflows and Bitbucket Runners. It allows users to remotely trigger and manage Bitbucket Runners directly from within their Devtron pipelines, enhancing automation capabilities and workflow control.
Before integrating the Bitbucket Runner Trigger plugin, ensure you have a Bitbucket account, properly configured Bitbucket Runner, and Bitbucket Token with appropriate permissions.
Go to Applications → Devtron Apps.
Click your application.
Go to App Configuration → Workflow Editor.
Click New Workflow and navigate to the Build and Deploy from Source Code.
Fill the required fields in the Create build pipeline window and navigate to the Pre-Build stage.
If you have already configured workflow, edit the build pipeline, and navigate to Pre-Build stage.
Under 'TASKS', click the + Add task button.
Select the Bitbucket Runner Trigger plugin.
Enter the following user inputs with appropriate values.
Enter the name of your task
e.g., Bitbucket Runner Trigger
Add a brief explanation of the task and the reason for choosing the plugin. Include information for someone else to understand the purpose of the task.
e.g., The Bitbucket Runner Trigger plugin is integrated to trigger a BitBucker Runner remotely through Devtron CI/CD workflow.
BitBucketWorkspaceName
STRING
The workspace name in Bitbucket where your repository is located
dev-workspace
BitBucketUsername
STRING
Your Bitbucket username used for authentication (Mandatory when pipeline is configured through SSH)
john.doe
BitBucketToken
STRING
Bitbucket access token for API authentication (Mandatory when pipeline is configured through SSH)
eyJ0eXBlIjoic2VydmljZV9hY2
BitBucketBranchName
STRING
The branch name where the pipeline will be triggered
main
BitBucketRepoName
STRING
The name of your Bitbucket repository
dev-repo
StatusTimeOutSeconds
STRING
Maximum time (in seconds) to wait for runner status response
300
Here you can set conditions to execute or skip the task. You can select Set trigger conditions
for the execution of a task or Set skip conditions
to skip the task.
Bitbucket Runner Trigger will not be generating an output variable.
Click Update Pipeline.