You can automatically trigger build jobs on a Jenkins server when pushes are made to a repository in your GitHub Enterprise instance.


GitHub Enterprise configuration

  1. Sign into GitHub Enterprise with your personal user account.
  2. Navigate to the repository you want to connect to your Jenkins build server.
  3. In the right sidebar, click Settings.
  4. In the left sidebar, click Webhooks & Services.
  5. In the Services box, click Add service.
  6. Select "Jenkins (GitHub plugin)".
  7. In the Jenkins hook URL field, type the URL of your Jenkins server's webhook endpoint. This is where your GitHub Enterprise instance will send JSON payloads when a push is made.
  8. Click Add service.