Re: how to determine a ToolLocation key?

2014-11-21 Thread Nico Mommaerts
Thanks, I also figured that out a bit later On Thursday, 9 October 2014 15:45:04 UTC+2, Jesse Glick wrote: On Thu, Oct 9, 2014 at 7:32 AM, Nico Mommaerts nico.mo...@gmail.com javascript: wrote: the Maven key should be hudson.tasks.Maven$MavenInstallation$DescriptorImpl

how to determine a ToolLocation key?

2014-10-09 Thread Nico Mommaerts
Hey, recently I've added support to the swarm plugin to specifiy toollocations. To add ToolLocation to a slave you have to create a ToolLocationNodeProperty.ToolLocation. Its constructor takes a key and a location. I didn't/don't know how to get to that key so I reverse engineered by querying

Re: how to determine a ToolLocation key?

2014-10-09 Thread Nico Mommaerts
Wannes Sels: Jenkins.getInstance().getExtensionList(hudson.tools.ToolDescriptor.class) should do the trick On Thursday, October 9, 2014 1:32:09 PM UTC+2, Nico Mommaerts wrote: Hey, recently I've added support to the swarm plugin to specifiy toollocations. To add ToolLocation to a slave you

commit access to jenkins-scripts asked

2014-10-06 Thread Nico Mommaerts
Hey, there are a bunch of open pull requests for the scriptler scripts repository, spanning a few months. There hasn't been any activity by the owner in a long time (1 year). If I read the guidelines correctly I can ask commit access so I can merge the open pull requests? github user: mrdfuse

Re: Set Slave ToolInstallation path with groovy cli script

2014-09-17 Thread Nico Mommaerts
For people who still might stumble upon this: http://stackoverflow.com/questions/25889437/how-to-modify-add-delete-tool-installations-on-a-jenkins-slave-using-groovy Op maandag 12 november 2012 17:25:46 UTC+1 schreef Jesse Glick: On 11/12/2012 10:43 AM, Matt Gollob wrote: I need a little