System groovy build step with support for external libraries via grab
12 views
Skip to first unread message
Krunal Patel
unread,
Jun 26, 2016, 12:33:59 AM6/26/16
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 Users
hi.Looking for some help regarding running build step "Run system groovy script".I want the best of both worlds: get access to Jenkins JVM and all it's objects like "build" but also be able to Grab dependencies.Whenever I try this, I get back "java.lang.NoClassDefFoundError: org/apache/ivy/Ivy at java.lang.Class.getDeclaredMethods0(Native Method)"
I've googled this extensively but havne't found a solid answer.
I would hate to have to combine System groovy with non-system groovy build steps and transver data via properties.I want to do it all in a single groovy script.Is there a way on latest Jenkins to do so?