This has been pending for a while, see https://github.com/jenkinsci/jenkins/pull/1085
On 06.05.2015, at 23:52, Marcin Zajączkowski <[email protected]> wrote: > Hi, > > I heavily use job-dsl-plugins to provision and manage jobs in Jenkins and it > would be useful to be able to use Groovy 2.x features (like traits or static > compilation) to write that code. Jenkins has embedded Groovy 1.8.9 (which as > a line 1.8 is quite old) which is used to run job-dsl-plugins scripts (and > other context aware scripts like System Groovy Script from Groovy plugin). > > Two question: > 1. Is it possible to use newer Groovy version to run scripts in Jenkins' > context? > 2. If not, is it planned to upgrade Groovy provided in Jenkins (which > unfortunately could brings some compatibility issues, but rather it has to be > performed sooner or later anyway)? > > Marcin > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/265c23ca-e8ff-44f0-b8bf-e058ce035ed0%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/D9CC86C6-EA38-4E47-8335-1C16135FEF91%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
