Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins poll vs webhook

I am new to Jenkins, was curious to know how does the Jenkins poll feature works and how does it utlize system resources.

What could be best practice to use in CI system - Jenkins poll or github webhook and why?

like image 301
Mukul Avatar asked Mar 03 '26 18:03

Mukul


1 Answers

This is a very easy answer, answered by Kohsuke, the creator of jenkins himself. Polling is less efficient, both for your computers, and for your people, since you have to wait--on the order of minutes--for your builds to happen, instead of them happening essentially instantly. We used to use polling before we switched to jenkins, and the biggest thing that people talk about is that "holy crap, jenkins builds fast." It's not jenkins, it's webhook pushing to trigger builds. Do that.

like image 106
burnettk Avatar answered Mar 06 '26 09:03

burnettk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!