Skip to main content

Sends comment to BitBucket Pull Requests

Project description

BitBucket Pull Request commenter

tests_workflow

This simple utility just sends comment to BitBucket server pull request. It is useful in CI automation to comment PR with build results and include some data from output text file.

Example

Send content of output.txt for some build to BitBucket pull request comment:

bbprc --server %bitbucket_url% --token %bitbucket_password% \
    --project %bitbucket_project% \
    --repo %bitbucket_repo% \
    --greeting "%system.teamcity.buildConfName%" \
    --pr %teamcity.build.branch% \
    --file %teamcity.build.checkoutDir%/output.txt

Authentication

For security reasons it only supports personal access token as a bearer for authentication.

Requirements

  • requests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bbprc-0.5.3.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page