Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72478

Jackson2 API 2.16.1 removes Java PropertyNamingStrategy aliases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • jackson2-api-plugin
    • None
    • Jenkins 2.426.2
      Jackson 2 API plugin 2.16.1-*
      GitLab plugin 1.7.19

      The Jackson 2 API plugin 2.16.1-x removes two constants that were deprecated long ago. The removed constants are:

      • CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES
      • PASCAL_CASE_TO_CAMEL_CASE

      Their replacements are documented in the commit

      The removal causes Jenkins controllers that install the 2.16.1-x Jackson 2 API plugin to fail when attempting to test the connection to the GitLab server. The failure message is

      Client error: CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES
      

      The workaround is to downgrade from Jackson 2 API 2.16.1 to Jackson 2 API 2.15.2. A fix has been proposed for GitLab plugin 1.8.0 in two pull requests,

      As far as I can tell, the GitLab plugin is the only plugin that relies on those removed constants.

      It might help users if that change were mentioned in the Jackson 2 API changelog.

            Unassigned Unassigned
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: