|View Multibranch Scan Webhook Trigger Plugin on the plugin site for more information.|
All multibranch projects comes with build in periodically scan trigger that polls scm and check wich branches has changed and than build those branches.
This is a Jenkins plugin that add functionality to do this scan on webhook:
There is a special
token parameter. When supplied, the invocation will only trigger jobs with that exact token. The token also allows invocations without any other authentication credentials.
The token can be supplied as a:
curl -POST http://localhost:8080/jenkins/multibranch-webhook-trigger/invoke?token=my-token
curl -POST -H "token: my-token" http://localhost:8080/jenkins/multibranch-webhook-trigger/invoke