• 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 3.0.x, the next major version of Groovy is 4.0.x. At the time of this writing, the latest version of Groovy 4.0.x is 4.0.3 (released on June 1, 2022).

      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-68690] Upgrade Groovy from 3.0.x to 4.0.x

          Basil Crow created issue -
          Basil Crow made changes -
          Link New: This issue depends on JENKINS-51823 [ JENKINS-51823 ]
          Kalle Niemitalo made changes -
          Link New: This issue is duplicated by JENKINS-70831 [ JENKINS-70831 ]

          Larry West added a comment -

          FYI, Groovy release notes are here: http://groovy-lang.org/releases.html 

          4.0.15 and 5.0.0-Alpha-2 tags were created in September 2023: https://github.com/apache/groovy/tags

          Larry West added a comment - FYI, Groovy release notes are here: http://groovy-lang.org/releases.html   4.0.15 and 5.0.0-Alpha-2 tags were created in September 2023: https://github.com/apache/groovy/tags
          Devin Nusbaum made changes -
          Link New: This issue blocks JENKINS-73031 [ JENKINS-73031 ]

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            8 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: