How to override Grails installation path for slave nodes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to override Grails installation path for slave nodes

davide.cavestro
Hi guys,
I am wondering if there's a way to override grails builders path for
slave nodes, in order to achieve a complete per-job/per-node
configurability.
I noticed the grails installations configured under the "Grails
Builder" section of the jenkins configuration page are not available
(to be overridden) under Jenkins > nodes > myslavenode > Node
properties > Tools location. Moreover they cannot be automatically
installed, and I cannot set the GRAILS_HOME env variable on a per-job/
per-node basis.
In other words, when I choose a grails installation, that path have to
remain consistent across all nodes, otherwise I obtain a
"java.io.IOException: java.io.IOException: error=2, No such file or
directory".
I suppose the same stands for Groovy, but not for Gradle, that can be
automatically installed AND overridden per-node.

I am using
* Jenkins ver. 1.400
* Jenkins Grails plugin 1.4


Cheers
Davide