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

Upgrade Groovy from 2.5.x to 3.0.x

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      Jenkins core currently depends on Groovy 2.4.21 (released on November 29, 2020), which is out of date. Once we upgrade to 2.5.x, the next major version of Groovy is 3.0.x. At the time of this writing, the latest version of Groovy 3.0.x is 3.0.11 (released on May 28, 2022). Groovy 3.0 is required to run on Java 11+ without reflective access warnings logged on startup.

      As described in jenkinsci/jenkins#5112 (comment) and jenkinsci/jenkins#5116 (comment), the main concern when upgrading Groovy is ensuring that sandboxed script execution remains secure.

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            26 Vote for this issue
            Watchers:
            35 Start watching this issue

              Created:
              Updated: