Open GabLeRoux opened 9 years ago
Seems like https://github.com/andrewtarry/hubot-bitbucket/blob/master/src/push-hook.coffee#L25
robot.router.post bitbucketPush, (req, res) ->
should be
robot.router.post bitbucketPushUrl, (req, res) ->
Trying this and I'll send a pr if it works :)
@GabLeRoux seems like the repository is inactive. Any chance you've found an alternative?
@foxlance You can use my fork gableroux/hubot-bitbucket.
Install using the following command instead:
npm install gableroux/hubot-bitbucket --save
Or add the following to your package.json
:
"dependencies": {
"hubot-bitbucket": "github:gableroux/hubot-bitbucket"
}
I don't know about the author here, but it's possible that he's not using his repo anymore.
I remember that back in the days, there was a problem with slack not displaying nice links so the output looked a bit ugly (huge), but I suppose they fixed it now (2 years later). My fork should still work. I'm not using it anymore as it was making quite some noise and I prefer using my CI to notify in slack or discord.
@GabLeRoux thanks! That certainly fixed my crashing heroku instance. Will play with this a little more till I get sleepy.
Cool, have fun and don't hesitate to ask me questions. If you go trough webhooks code, you may find this repository helpful. I created it to have actual json data from bitbucket webhooks to play with (but you're better with real webhooks imho as bitbucket could have changed its api now).
Gave the other one hubot-bitbucket-pr a shot, and while I'm getting 204, nothing is happening. Id rather just create my own webhooks, exactly like you suggested.
Hey there, I've added "hubot-bitbucket" to my
external-scripts.json
file and rannpm install --save hubot-bucket
,git push
(using heroku) andAlso tried with
HUBOT_BITBUCKET_PUSH_URL
andHUBOT_BITBUCKET_PUSH_EVENT
set to defaults but still getting this.