Hello everyone, I'm looking for help with writing a groovy script for use with jenkins-cli that can set the ToolInstallation path for a particular slave and tool. In https://wiki.jenkins-ci.org/display/JENKINS/Display+Tools+Location+on+All+Nodes I see how I can enumerate all the tools and their installations. However, not being a Java developer, I'm having trouble figuring out what the inverse of ToolInstallation.translateFor() might be.
First off, is it possible to set the tool path for a slave from a cli/groovy script? If so, can someone point me in the right direction for how I might set (and save) a new path? Thanks a lot, Matt