Setting up JDK and Maven versions to autodownload using groovy ?

24 views
Skip to first unread message

Max Rydahl Andersen

unread,
Mar 1, 2015, 8:08:13 AM3/1/15
to jenkins...@googlegroups.com
Hi,

Trying to figure out a way to configure jenkins via groovy init.d scripts so it will
auto-download  mvn and java versions.

I found http://javadoc.jenkins-ci.org/hudson/model/JDK.html but it seems to require a full path to a JDK - I would prefer it
used whatever is needed for auto downloading instead.


Any idea how to script that via groovy instead of manually having to do it via the UI ?
Reply all
Reply to author
Forward
0 new messages