Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable Bitbucket webhook from project to project

skala May 20, 2025

Hi Team, 

I need your input regarding the Bitbucket to Jenkins webhook setup for the data center environment.

 

Currently, the team is asking about how to enable webhooks. They have over 70 repositories under the "A" project, and they want to trigger CI jobs whenever a pull request is created against specific branches (e.g., develop, master, release, etc.) in each repository.

 

Is it possible to configure a single webhook that can trigger corresponding Jenkins jobs based on the repository and branch (e.g., branch A triggers Jenkins job A, branch B triggers job B), instead of creating individual webhooks for each branch-to-job mapping?

 

Im not sure if we can setup jobs in Jenkins to follow single webhook that will enable all the jobs(May be multi branch pipe line)

Thanks in advance..!

1 answer

0 votes
Aman Shrivastava
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 13, 2025

Hi @skala 

Setting a webhook at the project level applies it to all repositories within that project. However, Bitbucket's default webhook feature is scoped at the repository level, not the branch level, therefore, you cannot limit a webhook to trigger only for changes on a specific branch, nor can you direct it to trigger a specific job in Jenkins.

Regards,
Aman

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events