Using Groovy 2.x to run scripts in Jenkins' context
86 views
Skip to first unread message
Marcin Zajączkowski
unread,
May 6, 2015, 5:52:46 PM5/6/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
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
Daniel Beck
unread,
May 7, 2015, 3:10:22 AM5/7/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message