Problem: After upgrading Jenkins from 2.214 → 2.492.1, GitLab integration is broken (webhooks fail, merge request builds don’t trigger, pipeline steps like updateGitlabCommitStatus throw errors, etc.)
Root Cause (most common):
The GitLab Plugin and its dependency Jackson 2 API Plugin are incompatible with the newer libraries shipped in Jenkins 2.492.1 (Jackson 2.17+, Jetty 12, updated BOM).
| Plugin | Required Version | Release Date | Download / Plugin ID | Notes |
|---|---|---|---|---|
| GitLab Plugin | 1.9.9 | 2025-09-06 | gitlab-plugin | Latest stable, supports Jenkins ≥ 2.492.3 |
| Jackson 2 API Plugin | 2.20.0+ | 2025-xx-xx | jackson2-api | Provides Jackson Databind 2.17–2.19 |
| (Optional) Jersey 2 API | 2.39 or higher | — | jersey2-api | Usually auto-updated |
professionalism - Upload and restart
gitlab-plugin version → 1.9.9jackson2-api version → 2.20.0+com.fasterxml.jackson.databind → 2.17.x–2.19.xGitLab Debugcom.dabsquared.gitlabjenkinsorg.jenkinsci.plugins.gitlab| Symptom | Likely Cause | Fix |
|---|---|---|
NoSuchMethodError / ClassNotFoundException involving Jackson classes |
Old Jackson 2 API plugin | Force update to 2.20.0+ |
| Webhook 500 error from Jenkins | GitLab plugin too old for Jetty 12 | Upgrade to GitLab Plugin 1.9.9 |
updateGitlabCommitStatus step fails |
State name changed in newer plugin | Use explicit states: pending, running, success, failed |
| 401 Unauthorized on webhook | Secret token mismatch after upgrade | Re-save the GitLab connection in Global Tool Configuration |
| Builds not triggered at all | Webhook URL changed or blocked | Re-add webhook in GitLab (use new Jenkins URL if behind reverse proxy) |
Done. With GitLab Plugin 1.9.9 + Jackson 2 API 2.20.0+, your integration will work reliably on Jenkins 2.492.1.