0

We have a GitHub repository which has 4 branches. A multibranch pipeline is setup for it in Jenkins.

Tried setting up webhook, but could not find an option to do so. It has option at branch level to setup a webhook.

Requirement is to setup a webhook at repository level, so that we do not have to set up webhook for every new branch added.

After setting up webhook at repository level, if a change is pushed to any of the branches under it, build should be triggered for that branch.

Is this possible?

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
Pooja
  • 1
  • 2

1 Answers1

2

Have you tested the GitHub-Webhook-Pipeline-Multibranch plugin? It seems to achieve your goal.

Also, there is another similar question on SO with an answer that, while not accepted it has been up-voted by several people, and it might be of help in this case.

matus
  • 703
  • 3
  • 13