Configure Webhooks

Configure Webhooks

Webhook

Jenkins X supports a number of engines for handling webhooks and optionally supporting ChatOps.

Prow and Lighthouse support webhooks and ChatOps whereas Jenkins just supports webhooks.

Prow

Prow is currently the default webhook and ChatOps engine when using Serverless Jenkins X Pipelines with Tekton and GitHub.

It’s configured via the webhook: prow in jx-requirements.yml

cluster:
  provider: gke
environments:
- key: dev
- key: staging
- key: production
kaniko: true
storage:
  logs:
    enabled: false
  reports:
    enabled: false
  repository:
    enabled: false
webhook: prow

Lighthouse

Lighthouse is currently the default webhook and ChatOps engine when using Serverless Jenkins X Pipelines with Tekton and a git server other than https://github.com.

Once Lighthouse is more stable and well tested we’ll make it the default for all installations using Serverless Jenkins X Pipelines.

It’s configured via the webhook: lighthouse in jx-requirements.yml

cluster:
  provider: gke
environments:
- key: dev
- key: staging
- key: production
kaniko: true
storage:
  logs:
    enabled: false
  reports:
    enabled: false
  repository:
    enabled: false
webhook: lighthouse

Jenkins

To use a Jenkins server in boot for processing webhooks and pipelines configure it via webhook: jenkins in jx-requirements.yml


Last modified September 21, 2020: release 0.0.1895 (3145738)