Triggering Gitlab pipeline from Bitbucket webhook

Hemanth
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 15, 2024

Hi Everyone, 

I have a bitbucket repo from where I need to trigger gitlab pipeline whenever a Merge request has been raised in Bitbucket. I have created a webhook and added gitlab api with a token access of gitlab in it. But Iam not able to achieve it. Tried to trigger jenkins through Bitbucket webhook it is working fine. Wanted to check if this way is not supported for gitlab. Please let me know any other supported workaround.

Thanks.

1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 17, 2024

Hi Hemanth and welcome to the community!

I found the following documentation from GitLab:

I don't know if there is any other way other than what is described in this doc. Is this the one you are following?

If you have set up everything according to this doc, what you can do as a first step is check the webhook logs. We have details about this in the following knowledge base article:

You'll need to enable history for this specific webhook and then create an event that triggers the webhook. Then, check the requests in the logs:

  • What status code do you see for that request?
  • If you select View details for the request, are there any errors there?

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events