looks like someone on StackOverflow already provided an answer:
I suggest you combine the generic webhook plugin with a custom Contentful Webhook.
- You first need to configure the generic webhook plugin in jenkins to trigger the job you want.
- Then you create a Contentful webhook pointing to your jenkins url
http://<YOUR JENKINS URL>/jenkins/generic-webhook-trigger/invoke
- If you have multiple jobs in jenkins and you only want to trigger a specific one you can use tokens in your jenkins plugin config.
http://<YOUR JENKINS URL>/jenkins/generic-webhook-trigger/invoke?token=abc123