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 details)

Uploaded Source

File details

Details for the file bbprc-0.5.3.tar.gz.

File metadata

  • Download URL: bbprc-0.5.3.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.8

File hashes

Hashes for bbprc-0.5.3.tar.gz
Algorithm Hash digest
SHA256 b2a708d2baa8b2f3985acf9178a97fd7d1eff6ce79b1b07c7d6e62a2678fb8e3
MD5 64de06adb7db74361bd66b5532452a87
BLAKE2b-256 f53e53f6137e9cc7cebb060525be55f71e2fe00d32fd653b0b73949e18df96bc

See more details on using hashes here.

Supported by

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