All you need to do is to implement a java/groovy script code to  connect
windows machine from jenkins machine which is running on Ubuntu machine.

This script acts as a client and connects to remote machine and lists the
files and even you can do  transferring files via SFTP.

Following link can help you to implement that script.

https://www.ibm.com/developerworks/community/blogs/738b7897-cd38-4f24-9f05-48dd69116837/entry/programmatically_connecting_to_remote_systems2?lang=en

After implementing this script, create a free style job in Jenkins, go to
build step section and select groovy script and paste the implemented
java/groovy code  that reads your client harddisk directory contents.

You can google about it,  lots of examples are present on internet, even I
implemented similar one before but that is between Linux to linux machines
using jsch library.



Thanks
Rajendra

On 08-Nov-2018 14:40, "yossibr9876" <[email protected]> wrote:

Thanks Rajendra !!

no - jenkins on the cloud (linux ubuntu).
I want to see a choosen folder on the client machine (windows)

BR
Yos


On Thursday, November 8, 2018 at 11:04:56 AM UTC+2, rajendraprasad reddy
wrote:

> Ok then , is Jenkins instance running on the same machine?
>
> Thanks,
> Rajendra
>
> On Thu, 8 Nov, 2018, 14:30 yossibr9876 <[email protected] wrote:
>
>> I mean like the File Parameter  , I need a parameter directory .
>>
>>
>>
>> On Thursday, November 8, 2018 at 9:56:56 AM UTC+2, yossibr9876 wrote:
>>>
>>> Hi,
>>>
>>> I whould like to create a Jenkins job that can browsing a directories or
>>> files in the client  hard disk (c:)
>>>
>>> BR
>>> Yos
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" 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-users/00d9fa26-fe2f-48df-8914-0aa66bd8cf8d%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/00d9fa26-fe2f-48df-8914-0aa66bd8cf8d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
You received this message because you are subscribed to the Google Groups
"Jenkins Users" 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-users/31dfb086-f5b7-47a4-a8a7-1cde550f2644%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/31dfb086-f5b7-47a4-a8a7-1cde550f2644%40googlegroups.com?utm_medium=email&utm_source=footer>
.

For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/CAMrg02QzD59%2Bi%3DXhGG04WLiNHuaV8yYLQ_2nQ4XSuac2KLLw2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to