• 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.

          [JENKINS-51823] Upgrade Groovy from 2.5.x to 3.0.x

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-40689 [ 177392 ]
          Allan Lewis made changes -
          Link New: This issue is related to JENKINS-53372 [ JENKINS-53372 ]
          Oleg Nenashev made changes -
          Labels Original: java10_hackathon New: java10_hackathon java11
          Oleg Nenashev made changes -
          Epic Link Original: JENKINS-40689 [ 177392 ] New: JENKINS-55314 [ 196402 ]
          Baptiste Mathus made changes -
          Labels Original: java10_hackathon java11 New: java10_hackathon java11 triaged
          Ian Williams made changes -
          Link New: This issue is duplicated by JENKINS-53372 [ JENKINS-53372 ]
          Ian Williams made changes -
          Link New: This issue is duplicated by JENKINS-63444 [ JENKINS-63444 ]
          Ian Williams made changes -
          Link Original: This issue is duplicated by JENKINS-53372 [ JENKINS-53372 ]
          Oleg Nenashev made changes -
          Summary Original: Investigate Groovy update from 2.4.11 to 3.0+ New: Upgrade Groovy from 2.4.11 to 3.0+

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            31 Vote for this issue
            Watchers:
            42 Start watching this issue

              Created:
              Updated: