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

Jackson API plugin 2.16.1-x breaks Gitee plugin compilation and runtime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • gitee-plugin
    • None
    • Jenkins 2.426.2 and earlier
      Gitee plugin master branch and release

      The Jackson API plugin 2.16.1 has removed two constants that were deprecated long ago.. The removal of those constants will break compilation of the gitee plugin and are expected to break runtime of the gitee plugin as well.

      The Jackson 2 databind library 2.16.0 release removed the constants in PR-4162. The first release of a Jenkins Jackson 2 API to include that change is 2.16.1-373.ve709c6871598. The constants that were removed are:

      • CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES
      • PASCAL_CASE_TO_CAMEL_CASE

      They are replaced by constants:

      • SNAKE_CASE
      • UPPER_CAMEL_CASE

      Users will need to downgrade from Jackson 2 API plugin 2.16.1-373.ve709c6871598 to Jackson 2 API plugin 2.15.3-372.v309620682326 until a fix is released for the Gitee plugin. That's not a viable workaround for the long term, since the Jackson 2 API plugin is part of the Jenkins plugin bill of materials and its most recent release will become a dependency of many other plugins once the version increment pull request has been released in the plugin bill of materials (likely Jan 6, 2024).

            yashin Yashin Luo
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: