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

Upgrading Groovy version to 2.3+ in job-dsl-plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Is there a plan to upgrade the Groovy version to a newer version (e.g. 2.3+) in job-dsl-plugin?

      The current used version 1.8.9 is probably too old and prevent developer to use new features like Traits.

        Attachments

          Issue Links

            Activity

            Hide
            daspilker Daniel Spilker added a comment -

            The Job DSL plugin must use the same version of Groovy as provided by Jenkins core. An update in Jenkins core is most likely not going to happen in Jenkins 1.x. See the issues linked in JENKINS-21249 for details.

            Show
            daspilker Daniel Spilker added a comment - The Job DSL plugin must use the same version of Groovy as provided by Jenkins core. An update in Jenkins core is most likely not going to happen in Jenkins 1.x. See the issues linked in JENKINS-21249 for details.
            Hide
            fayndee Fang Yuan added a comment -

            Daniel Spilker thx for the link, I had doubt about why this hasn't been done earlier, now it seems more clear for me. So is there an estimated release date for Jenkins 2.x?

            I see now there is potentially a big impact on other plugins by upgrading the Groovy version in Jenkins, but at the same time it's sad since this has been lacking for years already. We'd like to use features like: Extension Modules, DelegatesTo and Traits with job-dsl-plugin, but it seems no chance at the moment...

            Show
            fayndee Fang Yuan added a comment - Daniel Spilker thx for the link, I had doubt about why this hasn't been done earlier, now it seems more clear for me. So is there an estimated release date for Jenkins 2.x? I see now there is potentially a big impact on other plugins by upgrading the Groovy version in Jenkins, but at the same time it's sad since this has been lacking for years already. We'd like to use features like: Extension Modules, DelegatesTo and Traits with job-dsl-plugin, but it seems no chance at the moment...
            Hide
            daspilker Daniel Spilker added a comment -

            See Jenkins 2.0 for an overview of the Jenkins 2.0 activities. There was an initial proposal for a timeline, but I think it's not valid any more.

            Show
            daspilker Daniel Spilker added a comment - See Jenkins 2.0 for an overview of the Jenkins 2.0 activities. There was an initial proposal for a timeline, but I think it's not valid any more.
            Hide
            daspilker Daniel Spilker added a comment -

            Jenkins 2.0-alpha-3 ships with Groovy 2.4.6. So starting with Jenkins 2.0, you can use Groovy 2.4.6 for your DSL scripts.

            Show
            daspilker Daniel Spilker added a comment - Jenkins 2.0-alpha-3 ships with Groovy 2.4.6. So starting with Jenkins 2.0, you can use Groovy 2.4.6 for your DSL scripts.

              People

              Assignee:
              daspilker Daniel Spilker
              Reporter:
              fayndee Fang Yuan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: