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

Upgrade Groovy from 2.5.x to 3.0.x

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oleg_nenashev Oleg Nenashev
              Votes:
              24 Vote for this issue
              Watchers:
              34 Start watching this issue

              Dates

                Created:
                Updated: