Skip to content

bitbucket server does not install webhooks #13998

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

Closed
jmls opened this issue Oct 19, 2022 · 6 comments
Closed

bitbucket server does not install webhooks #13998

jmls opened this issue Oct 19, 2022 · 6 comments
Labels
feature: context awareness feature: prebuilds git provider: bitbucket meta: stale This issue/PR is stale and will be closed soon team: webapp Issue belongs to the WebApp team type: bug Something isn't working

Comments

@jmls
Copy link

jmls commented Oct 19, 2022

Bug description

When trying to setup a prebuild hook , prefixing the url with gitpod.io/#prebuild/ does not create the BB webhook.

it does create the webhook for BB cloud.

Steps to reproduce

Create a new repo, and gitpod project. prefix the branch url with gitpod.io/#prebuild/

Workspace affected

No response

Expected behavior

webhook to be created on the repo

Example repository

No response

Anything else?

No response

@AlexTugarev
Copy link
Member

Hi! The prebuild-context URLs are considered deprecated since the introduction of projects, see #4353

cc. @jldec

@jmls
Copy link
Author

jmls commented Oct 21, 2022

Right, but I have a project. I have pushed a commit, and prebuild does not start - because there are no hooks in the repo

What do I need to do in order to make a prebuild start on a commit ?

@AlexTugarev
Copy link
Member

I see. In this case the mentioning of the prebuild prefix-URL was misleading for me. Webhooks are supposed to be created on project creation.

Let me try to find something related in the logs.

@AlexTugarev
Copy link
Member

@jmls, I couldn't find any errors related to BBS webhooks.

Could you try to reproduce again, please? Make sure you have proper permissions for the test repository you'd want to add as project – it should be "REPO_ADMIN" or "PROJECT_ADMIN".

Also, please do not try with the #prebuild/ prefix-URL.

@AlexTugarev
Copy link
Member

We've added proper logging to shad some light on the issue with creating webhooks on BBS instances. @jmls, once this is deployed, it would be awesome to repeat the procedure with a second test repository of yours. We need to understand the situation properly, which requires to capture the errors response.
🙏🏻 I'll ping you.

@stale
Copy link

stale bot commented Feb 5, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Feb 5, 2023
@stale stale bot closed this as completed Feb 20, 2023
@github-project-automation github-project-automation bot moved this to In Validation in 🍎 WebApp Team Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: context awareness feature: prebuilds git provider: bitbucket meta: stale This issue/PR is stale and will be closed soon team: webapp Issue belongs to the WebApp team type: bug Something isn't working
Projects
Status: In Validation
Development

No branches or pull requests

3 participants