Official Jenkins plugin · GitHub · Bitbucket · GitLab

GitHub webhooks to Jenkins, even when Jenkins is private

Grab the webhook URL for your trigger below. If GitHub can't reach Jenkins, the official Webhook Relay plugin delivers every push and pull request over an outbound connection. No public IP, no inbound firewall rules.

Your Jenkins webhook URL

https://<your-jenkins>/github-webhook/

Paste it as the Payload URL in GitHub → Webhooks. It only works if GitHub can reach Jenkins.

Can GitHub reach your Jenkins from the internet?

Already know you need it? Start free · 14-day Business trial with a work email · No credit card · SOC 2 Type II · Jenkins 2.479.1+

Buying for a company? Talk to sales

One public URL in. One outbound connection out. Nothing else exposed.

Safe on company infrastructure

  • Outbound only

    No inbound port, no public IP. Works behind NAT and corporate proxies.

  • What we store

    Each webhook and Jenkins' response, AES-256 encrypted on Google Cloud in the EU (Belgium), for logs, retries and replay. Deleted when your plan's retention ends. Ephemeral buckets keep no payloads.

    GDPR →Security review kit →

  • Official Jenkins plugin

    Published in the Jenkins plugin index, open source.

    plugins.jenkins.io ↗Source ↗

  • SOC 2 Type II

    Independently audited controls.

    Security details →

Webhooks in, nothing else

GitHub only needs to reach one endpoint. Opening Jenkins to the internet exposes all of them.

Exposing Jenkins to GitHub

  • Open an inbound port to the Jenkins controller
  • Allow-list GitHub's webhook source addresses
  • Run and patch a reverse proxy in front of Jenkins
  • Get the firewall change through security review

With the Webhook Relay plugin

  • Jenkins makes one outbound connection
  • Nothing new is reachable from the internet
  • Deliveries are logged and retried for up to 30 days
  • Nothing for the firewall team to approve

No inbound ports

Jenkins keeps no public address, so /cli, the script console and the setup wizard, the endpoints behind exploited CVEs like CVE-2024-23897, can't be reached from outside. Security teams don't need to approve a firewall change.

Nothing lost during restarts

Webhook Relay accepts and stores every webhook, so GitHub never sees a failure. With durable delivery, webhooks are retried for up to 30 days, and you can replay any request from the logs.

Every delivery logged

See each webhook with the response Jenkins returned. "Why didn't my build start?" takes seconds to answer, without digging through the Jenkins system log.

Works with the trigger you already use

Pick a preset in the plugin. Your jobs stay exactly as they are.

GitHub and GitHub Enterprise

GitHub hook trigger for GITScm polling, githubPush() and GitHub Branch Source.

Jenkins endpoint

/github-webhook/

Generic Webhook Trigger

For Bitbucket Server, Gitea, Jira or your own tools, with token-based job selection.

Jenkins endpoint

/generic-webhook-trigger/invoke

Bitbucket Cloud and Server

The Bitbucket plugin push trigger, unchanged.

Jenkins endpoint

/bitbucket-hook/

GitLab

The GitLab plugin build triggers, including merge request events.

Jenkins endpoint

/project/<job>

Running a self-managed SCM? Bitbucket Data Center · GitHub Enterprise

Set up in three steps

Requires Jenkins 2.479.1 or newer. No separate agent to install or keep running.

  1. 1

    Install the plugin

    Manage Jenkins → Plugins → search Webhook Relay. Paste your API key and secret, enter a bucket name, pick your SCM preset and save.

    Jenkins/Manage Jenkins/System/Webhook Relay

    API Key

    Concealed

    API Secret

    Concealed

    Bucket name

    jenkins-plugin

    SCM Webhook Preset

    GitHub (github-webhook/)

    Connection Status

    Subscribed — subscribed to buckets: jenkins-plugin

  2. 2

    Copy the webhook URL

    Click Get Webhook URL and paste it into your repository's webhook settings. That is the only change on the GitHub side.

    Jenkins/Manage Jenkins/System/Webhook Relay

    Webhook URL

    Get Webhook URL

    Paste this URL into your GitHub/GitLab/Bitbucket/Gitea repository webhook settings:

    https://<id>.hooks.webhookrelay.com

  3. 3

    Push a commit

    The webhook travels from GitHub through your bucket to Jenkins, and the build starts. Multibranch pipelines and pull request builds work the same way.

    Jenkins build #1 completed, triggered by a webhook delivered through Webhook Relay
    A real build started by a webhook delivered through the plugin.

Start free, or buy through procurement

Try it on one pipeline

Free$0
150 webhooks a month, enough for a test pipeline
Business$79.99/mo
60,000 webhooks a month, long log retention, priority support

Work email? Get Business free for 14 days, no card. How it works · 7-day money-back guarantee on paid plans.

Buying for a company?

  • Annual plans paid by invoice with a PO number, from the dashboard
  • Help with your security review
  • Vendor onboarding paperwork

Questions

Do I need to open any ports or change the firewall?

No. The plugin connects out from Jenkins over HTTPS/WebSocket, the same as any outbound API call. Nothing connects in to Jenkins, so it can stay on a private network, behind NAT or a corporate proxy.

Do I need a public IP or a reverse proxy?

No. GitHub, Bitbucket or GitLab post to your bucket's public Webhook Relay URL. Jenkins never has a public address.

What if Jenkins is restarting when a push happens?

The webhook is stored by Webhook Relay and the provider gets a success response. With durable delivery it is retried for up to 30 days, and any request can be replayed from the logs.

Can I run an agent instead of a plugin?

Yes. The relay CLI, Docker image or Kubernetes operator can forward to Jenkins from any machine on the same network, which is useful when you can't install plugins on the controller.

Can we pay by invoice?

Yes. Annual plans can be paid by invoice and purchase order, and we help with security reviews and vendor onboarding. Use Talk to sales to request a quote.

Trigger your next build from GitHub

Install the plugin, paste one URL into your repository settings, push a commit. Jenkins stays private.

Free plan · No credit card required · 7-day money-back guarantee on paid plans