Re: browsing file

2018-11-08 Thread yossibr9876
Thanks  Rajendra !!!

On Thursday, November 8, 2018 at 12:00:03 PM UTC+2, rajendraprasad reddy 
wrote:
>
> 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" > 
> 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 >
>>> 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 jenkinsci-use...@googlegroups.com.
>>>
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/00d9fa26-fe2f-48df-8914-0aa66bd8cf8d%40googlegroups.com
>>>  
>>> 
>>> .
>>> 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 jenkinsci-use...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/31dfb086-f5b7-47a4-a8a7-1cde550f2644%40googlegroups.com
>  
> 
> .
>
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4e167473-e9e2-4bf9-907d-ef9eff8afb37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: browsing file

2018-11-08 Thread RAJENDRA PRASAD
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"  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 
>> 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 jenkinsci-use...@googlegroups.com.
>>
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/00d9fa26-fe2f-48df-8914-0aa66bd8cf8d%40googlegroups.com
>> 
>> .
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/31dfb086-f5b7-47a4-a8a7-1cde550f2644%40googlegroups.com

.

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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Re: browsing file

2018-11-08 Thread yossibr9876
my goal is to copy all the files under the selected folder on the client 
machine 

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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9de914ca-8377-40cd-b64e-2779af2558d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: browsing file

2018-11-08 Thread yossibr9876
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  
> 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 jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/00d9fa26-fe2f-48df-8914-0aa66bd8cf8d%40googlegroups.com
>>  
>> 
>> .
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/31dfb086-f5b7-47a4-a8a7-1cde550f2644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: browsing file

2018-11-08 Thread RAJENDRA PRASAD
Ok then , is Jenkins instance running on the same machine?

Thanks,
Rajendra

On Thu, 8 Nov, 2018, 14:30 yossibr9876  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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/00d9fa26-fe2f-48df-8914-0aa66bd8cf8d%40googlegroups.com
> 
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02TrtBR5%2B-tDMo4SwTyS144CRQmcSyVY%2BKoLo%2BOU8dyGJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: browsing file

2018-11-08 Thread yossibr9876
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/00d9fa26-fe2f-48df-8914-0aa66bd8cf8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: browsing file

2018-11-08 Thread yossibr9876
thanks a lot 

On Thursday, November 8, 2018 at 10:30:47 AM UTC+2, rajendraprasad reddy 
wrote:
>
> Do you want to write a script or job to browse files client hard disk C:\ 
> drive ???
>
> You mean your script needs to list the files of client hard disk? Or you 
> want to browse files on client harddisk?
>
> If your requirement is browsing files on client hard disk , I don't think 
> it is possible via Jenkins job/script,
>
> Or 
>
> If your requirement is to list the files on client hard disk whenever you 
> run the job then
> Thanks that may be possible.
>
> Before that, I would like to where the Jenkins instance running is on the 
> same windows machine?
>
> If Jenkins is running on same windows box and if your Jenkins your have 
> rights to read access C:\ drive then listing files on clients harddisk is 
> damn easy.
>
> Thanks
>
>
> On Thu, 8 Nov, 2018, 13:27 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 jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com
>>  
>> 
>> .
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/078df1a9-6da4-47dd-bc63-8a994295566a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: browsing file

2018-11-08 Thread yossibr9876
thanks a lot 

On Thursday, November 8, 2018 at 10:19:58 AM UTC+2, Robert Rajendra wrote:
>
> if the client system is unix you can use execute shell step and write the 
> commands there so every time when your job will run it will execute the 
> commands written in that terminal
>
> *Robert Rajendra*
>
> Associate Network/Server Support Engineer
>
> IT Hands
>
> P: +91 863.087.3094
>
> W: www.ITHands.com 
>
>
> On Thu, 8 Nov 2018 at 13:26, 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 jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com
>>  
>> 
>> .
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f47bd8f9-78ec-40c3-84c8-20d4cb6b8383%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: browsing file

2018-11-08 Thread RAJENDRA PRASAD
Do you want to write a script or job to browse files client hard disk C:\
drive ???

You mean your script needs to list the files of client hard disk? Or you
want to browse files on client harddisk?

If your requirement is browsing files on client hard disk , I don't think
it is possible via Jenkins job/script,

Or

If your requirement is to list the files on client hard disk whenever you
run the job then
Thanks that may be possible.

Before that, I would like to where the Jenkins instance running is on the
same windows machine?

If Jenkins is running on same windows box and if your Jenkins your have
rights to read access C:\ drive then listing files on clients harddisk is
damn easy.

Thanks


On Thu, 8 Nov, 2018, 13:27 yossibr9876  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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com
> 
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02To2FbXJmbUnPCGNMN65nwtFDDmV4y3hLzs%3Dv2he2dLcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: browsing file

2018-11-08 Thread Robert Rajendra
if the client system is unix you can use execute shell step and write the
commands there so every time when your job will run it will execute the
commands written in that terminal

*Robert Rajendra*

Associate Network/Server Support Engineer

IT Hands

P: +91 863.087.3094 <+91%2086308%2073094>

W: www.ITHands.com 


On Thu, 8 Nov 2018 at 13:26, 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com
> 
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KGXGKBzsCJbOcMGjVKaQHFaFULp%3D32XzY2no4L7JpHEPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


browsing file

2018-11-07 Thread yossibr9876
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.