On Thu, 27 Nov 2014 02:02:06 +0100, Kaz Nishimura <[email protected]>
wrote:
I would like to add a tool installation axis for Matrix Project Plugin.
As
a specific tool installation is not installed on every node, the new axis
must restrict nodes that can run a build. I have not found a way to do
it,
so I ask if it is possible to implement. Does anyone have an answer?
The easiest way I can think of to restrict build based on tool requirement
is introducing new interface, say ToolConsumer. Job and its configurable
entities will optionally implement the interface and list tool
types+versions it requires. In your case Axis will implement the interface
and declare to consume tools user configured. Job will only be triggered
on such a slave that provides all tools Job and all build
steps/parameters/axes/whatever declared.
I guess there is no fast way to see if tool is/can be installed on given
node, NodeMonitor to check that periodically might be needed.
--
oliver
--
You received this message because you are subscribed to the Google Groups "Jenkins
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/op.xpzv9jhbsbfict%40localhost.localdomain.
For more options, visit https://groups.google.com/d/optout.