{"repo":"jenkinsci/generic-webhook-trigger-plugin","free":true,"listed":false,"github":"https://github.com/jenkinsci/generic-webhook-trigger-plugin","clone":"git clone https://github.com/jenkinsci/generic-webhook-trigger-plugin.git","description":"Can receive any HTTP request, extract any values from JSON or XML and trigger a job with those values available as variables. Works with GitHub, GitLab, Bitbucket, Jira and many more.","language":"Java","stars":427,"topics":["webhook","trigger","jenkins-plugin","jira","github","gitlab","bitbucket","bitbucket-server","notification","parameter"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Generic Webhook Trigger Plugin This is a Jenkins plugin that can: 1. Receive any HTTP request, JENKINS URL/generic-webhook-trigger/invoke 2. Extract values - From POST content with JSONPath or XPath - From the query parameters - From the headers 3. Trigger a build with those values contribute as variables There is an optional feature to trigger jobs only if a supplied regular expression matches the extracted variables. Here is an example, let's say the post content looks like this: Then you can have a variable, resolved from post content, named ref of type JSONPath and with expression like $.ref . The optional filter text can be set to $ref and the filter regexp set to ^(refs/heads/develop refs/heads/feature/.+)\\$ to trigger builds only for develop and feature-branches. There are more examples of use cases here. Video showing an example usage: It can trigger on any webhook, like: - Bitbucket Cloud - Bitbucket Server - GitHub - GitLab - Gogs and Gitea - Assembla - Jira - And many many more! The original use case was to build merge/pull requests. You may use the Git Plugin as described in this blog post to do that. There is also an example of this on the Violation Comments to GitLab Plugin page. You may want to report back to the invoking system. HTTP Request Plugin is a very convenient plugin for that. If a node is selected, then all leafs in that node will be contributed. If a leaf is selected, then only that leaf will be contributed. Trigger only specific job When using the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jenkinsci","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jenkinsci/generic-webhook-trigger-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}