abiosoft / abiosoft/caddy-git

400 Bad Request - Bitbucket

Offen
#100 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
206
Forks
42
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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](https://github.com/abiosoft/caddy-git/issues/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](https://github.com/abiosoft/caddy-git/issues/94).

Am I missing something to make it work?

Caddyfile snippet:
```
...
git ssh://git@git.mydomain:/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,

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.