Skip to main content

Sends comment to BitBucket Pull Requests

Project description

BitBucket Pull Request commenter

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.

> bbprc --help
usage: bbprc [-h] [--server SERVER] [--token TOKEN] [--project PROJECT] [--repo REPO] [--pr PR] [--greeting GREETING] [--file FILE] [--verify] [--debug]

Sends comment to BitBucket Pull Request

optional arguments:
  -h, --help           show this help message and exit
  --server SERVER      BitBucket server address or url
  --token TOKEN        BitBucket Bearer token for authorization
  --project PROJECT    BitBucket project name
  --repo REPO          BitBucket repository name
  --pr PR              BitBucket Pull Request number
  --greeting GREETING  Some text you want to save in the PR comment
  --file FILE          Filepath to load comment from
  --verify             Verify server cert
  --debug              Shows detailed process

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.2.0.tar.gz (5.8 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