Customizing Jenkins on start up - Initialization Scripts

30 views
Skip to first unread message

RM

unread,
May 1, 2016, 6:06:05 PM5/1/16
to Jenkins Users
Hello,

I am looking for options to customize Jenkins after start up. For e.g. set up tools such as Java, Git, Maven, etc.

While i do see the option of writing groovy scripts and placing them at $JENKINS_HOME/HOOK.groovy.d, I would prefer to read the tool locations (in my groovy file) from a YAML configuration and load them dynamically..

Is there a way i can read environment variables in these init scripts? Or through YAML Beans?

Any pointers will be much appreciated. I am planning to use the Jenkins docke images

Regards,
Z
Reply all
Reply to author
Forward
0 new messages