View as Markdown

Integrating Jenkins with Mergify

Run CI Insights via the Mergify Jenkins plugin and Merge Queue Scopes through the Mergify CLI.


Jenkins is an open-source automation server. Mergify ships a Jenkins plugin for CI Insights and supports Merge Queue Scopes through the Mergify CLI. Any Jenkins status check reported to GitHub can also be referenced from your Mergify conditions via check-success.

  1. Jenkins is properly set up and is building your projects. See the Jenkins Documentation for help with setting up Jenkins.

  2. Jenkins is configured to report build statuses to GitHub. This is typically done via plugins such as the GitHub plugin or the GitHub Branch Source Plugin.

  3. The Mergify GitHub App is installed in your repository.

  • CI Insights: install the Mergify Jenkins plugin to collect job metrics, detect flaky tests, and get Slack notifications for CI failures.

  • Merge Queue Scopes: run only the jobs affected by a batch when processing the merge queue, via the Mergify CLI.

Was this page helpful?