• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      Currently Jenkins uses Groovy 1.8.x. To be able to use new Groovy 2.x features in the script console or the CLI commands, the dependency to Groovy should be updated to the latest version.

          [JENKINS-21249] Update Groovy

          Kohsuke Kawaguchi added a comment - See https://github.com/jenkinsci/jenkins/pull/1085

          Daniel Spilker added a comment - PR for 2.0: https://github.com/jenkinsci/jenkins/pull/2034

          Code changed in jenkins
          User: Kohsuke Kawaguchi
          Path:
          core/pom.xml
          core/src/main/java/hudson/cli/GroovyshCommand.java
          core/src/main/java/hudson/util/spring/BeanBuilder.java
          pom.xml
          test/pom.xml
          test/src/test/java/hudson/cli/GroovyshCommandTest.java
          http://jenkins-ci.org/commit/jenkins/54d1cf11c9e8cceb7cd593b81c170b2c784257d6
          Log:
          Merge pull request #2034 from daspilker/2.0-JENKINS-21249

          JENKINS-21249 Update Groovy to 2.4.6

          Compare: https://github.com/jenkinsci/jenkins/compare/219481a2926a...54d1cf11c9e8

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: core/pom.xml core/src/main/java/hudson/cli/GroovyshCommand.java core/src/main/java/hudson/util/spring/BeanBuilder.java pom.xml test/pom.xml test/src/test/java/hudson/cli/GroovyshCommandTest.java http://jenkins-ci.org/commit/jenkins/54d1cf11c9e8cceb7cd593b81c170b2c784257d6 Log: Merge pull request #2034 from daspilker/2.0- JENKINS-21249 JENKINS-21249 Update Groovy to 2.4.6 Compare: https://github.com/jenkinsci/jenkins/compare/219481a2926a...54d1cf11c9e8

          Merged in 2.0-aplha-3.

          Daniel Spilker added a comment - Merged in 2.0-aplha-3.

          Vlad Aginsky added a comment -

          Hi, there is a memory leak fix in new grrovy. http://groovy-lang.org/changelogs/changelog-2.4.8.html
          can it, please, be updated in jenkins?

          Vlad Aginsky added a comment - Hi, there is a memory leak fix in new grrovy. http://groovy-lang.org/changelogs/changelog-2.4.8.html can it, please, be updated in jenkins?

          vladichko Not sure this 3 years old bug should be resurrected. The leak is monitored in https://issues.jenkins-ci.org/browse/JENKINS-33358 where a PR is mentioned. This is not clear when we can expect a merge though.

          Emmanuel Debanne added a comment - vladichko Not sure this 3 years old bug should be resurrected. The leak is monitored in https://issues.jenkins-ci.org/browse/JENKINS-33358 where a PR is mentioned. This is not clear when we can expect a merge though.

            Unassigned Unassigned
            daspilker Daniel Spilker
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: