I forgot to mention, that I need to pass the basedir (build.getWorkspace()) 
to DirectoryScanner, but the DS only accepts File or String object, so I 
think I have to execute the whole DS on the remote somehow.

On Thursday, October 11, 2012 3:04:23 PM UTC+2, Ognjen Bubalo wrote:
>
> I have a problem with remote management. DirectoryScanner works, but it 
> should be executed to work with slaves too. 
> I was wondering to try something with FilePath.FileCallable, but did not 
> work, also I cannot extend FilePath because it is final. I tried the 
> FilePath.list(includes) too but did not work.
>
> Could somebody help me?
>
> Thanks,
> Ogi
>
> On Thursday, October 4, 2012 8:23:51 PM UTC+2, Ognjen Bubalo wrote:
>>
>> That worked! Thanks Jesse!
>>
>> 2012. szeptember 21., péntek 19:21:36 UTC+2 időpontban Jesse Glick a 
>> következőt írta:
>>>
>>> On 09/21/2012 03:03 AM, Ognjen Bubalo wrote: 
>>> > So I am writing a plugin and I want to get list of directories which 
>>> match the pattern given on the configuration page. 
>>>
>>> You can use DirectoryScanner directly I think. 
>>>
>>

Reply via email to