Description

This PR adds support for webhooks for Bitbucket Server prebuilds. It implements five methods: webhook get, register, unregister, comparing commit ranges and parsing event data.

  • This change requires a documentation update
  • I have made corresponding changes to the documentation

Related Issue(s)

closes #995 /claim #995

Screenrecord

https://github.com/user-attachments/assets/795542cb-d52d-4d48-aea9-158b5bc97342

Notes

While fetching RepoBranches, the namespaceId and repositoryId was same that’s why it was throwing this error:

ERRO[4348] API ERROR                                     URI=/gitprovider/bitbucket-server/so
m/som/branches error="Error #01: Request failed with Status: 404 , Body: {errors:[{message:Repository som/som does not exist.,exceptionName:com.atlassian.bitbucket.repository.NoSuchRepositoryException}]}\n" latency=19.242749ms method=GET status=404

I have fixed that in this PR itself, everything seems to be working fine but let me know after you test it!

Claim

Total prize pool $100
Total paid $100
Status Approved
Submitted October 04, 2024
Last updated November 08, 2024

Contributors

AN

Ansuman Sahoo

@unsuman

100%

Sponsors

DA

Daytona

@daytonaio

$100 paid