Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400 Bad Request - Bitbucket #100

Open
elg0ch0 opened this issue Feb 7, 2019 · 0 comments
Open

400 Bad Request - Bitbucket #100

elg0ch0 opened this issue Feb 7, 2019 · 0 comments

Comments

@elg0ch0
Copy link

elg0ch0 commented Feb 7, 2019

Hi,

Are WebHooks supported for on-premises BitBucket instances?

I'm trying to integrate my BitBucket instance with Caddy (v.0.11.2) using Git plugin, setting a

hook_type generic

as indicated at 94, but I get a 400 Bad Request
As a test, I tried

hook_type bitbucket

also and got a 403 Forbidden (which is expected based on 94.

Am I missing something to make it work?

Caddyfile snippet:

...
     git ssh://[email protected]:/abcd/abc2.git {
        path    /var/www/abcd/public/api
        key     /var/www/abcd/.ssh/id_rsa
        hook    /myhook
        hook_type generic
        #hook_type bitbucket
        interval -1
     }
...

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant