Repository is archived
No commit activity in last 3 years
No release in over 3 years
post comment to pull requiest on bitbucket.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0
 Project Readme

bitbucket_pr_comment

Gem Version

post comment to pull requiest on bitbucket

Require

  • git

Install

$ gem install bitbucket_pr_comment

Setup

Get the bitbucket consumer key.

OAuth on Bitbucket Cloud

  • Callback URL: urn:ietf:wg:oauth:2.0:oob
  • Check This is a private consumer

Pleasse make sure the consumer key and secret.

Usage

Set the client_id and client_secret to arguments or environment variables. And, please specify a comment by the filename or pipe.

Exaple:

$ cat comment_file
Pull request comment test!
$ bitbucket_pr_comment comment_file --client_id xxxx --client_secret xxxx

OR

$ export CLIENT_ID=xxxx
$ export CLIENT_SECRET=xxxx
$ cat comment_file
Pull request comment test!
$ cat comment_file | bitbucket_pr_comment

License

MIT