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

      Jenkins core currently depends on Groovy 2.4.21 (released on November 29, 2020), which is out of date. At the time of this writing, the oldest actively supported Groovy line is 2.5.x, and the latest version of Groovy 2.5.x is is 2.5.17 (released on May 28, 2022). This ticket proposes upgrading Groovy to the latest in the 2.5 series as a step to upgrading to 3.0.x (see JENKINS-51823).

      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-53372] Upgrade Groovy from 2.4.x to 2.5.x

          Allan Lewis created issue -
          Allan Lewis made changes -
          Remote Link New: This issue links to "jenkinsci/jenkins PR: core/pom.xml: Update Groovy to v2.5.x #3605 (Web Link)" [ 21429 ]
          Allan Lewis made changes -
          Link New: This issue is related to JENKINS-51823 [ JENKINS-51823 ]
          Allan Lewis made changes -
          Assignee Original: Allan Lewis [ allanlewis_youview ]
          Ian Williams made changes -
          Link New: This issue duplicates JENKINS-51823 [ JENKINS-51823 ]
          Ian Williams made changes -
          Link Original: This issue duplicates JENKINS-51823 [ JENKINS-51823 ]
          Ian Williams made changes -
          Link New: This issue is related to JENKINS-63047 [ JENKINS-63047 ]
          Basil Crow made changes -
          Summary Original: Update Groovy to v2.5.x New: Update Groovy from 2.4.x to 2.5.x
          Basil Crow made changes -
          Description Original: Jenkins currently bundles Groovy 2.4.11, which was released in April 2017. Groovy 2.5.0 was released in May 2018 and includes a number of new features; the latest patch release is 2.5.2, released August 2018.

          This ticket proposes upgrading Groovy to the latest in the 2.5 series as a step to upgrading to v3 - see JENKINS-51823.
          New: Jenkins currently bundles Groovy 2.4.21, which was released on November 29, 2020. Groovy 2.5.15 was released on September 2, 2021. It includes a number of new features.

          This ticket proposes upgrading Groovy to the latest in the 2.5 series as a step to upgrading to v3 - see JENKINS-51823.
          Basil Crow made changes -
          Epic Name New: groovy 3
          Epic Status New: To Do [ 10000 ]
          Issue Type Original: Improvement [ 4 ] New: Epic [ 10001 ]
          Basil Crow made changes -
          Epic Name Original: groovy 3 New: Update Groovy from 2.4.x to 2.5.x

            Unassigned Unassigned
            allanlewis_youview Allan Lewis
            Votes:
            20 Vote for this issue
            Watchers:
            30 Start watching this issue

              Created:
              Updated: