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.
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.txtFor security reasons it only supports personal access token as a bearer for authentication.
- requests