Discussion:
browsing file
yossibr9876
2018-11-08 07:56:56 UTC
Permalink
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+***@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.
Robert Rajendra
2018-11-08 08:19:36 UTC
Permalink
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 <http://www.ithands.com/>
Post by 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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%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 jenkinsci-users+***@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.
yossibr9876
2018-11-08 08:57:54 UTC
Permalink
thanks a lot !!!!
Post by 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
W: www.ITHands.com <http://www.ithands.com/>
Post by 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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%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 jenkinsci-users+***@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.
RAJENDRA PRASAD
2018-11-08 08:30:20 UTC
Permalink
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
Post by 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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%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 jenkinsci-users+***@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.
yossibr9876
2018-11-08 08:58:04 UTC
Permalink
thanks a lot !!!!

On Thursday, November 8, 2018 at 10:30:47 AM UTC+2, rajendraprasad reddy
Post by 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
Post by 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
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%40googlegroups.com
<https://groups.google.com/d/msgid/jenkinsci-users/8d70669c-8af5-472e-9b04-f3e8c71ed292%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 jenkinsci-users+***@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.
yossibr9876
2018-11-08 08:59:57 UTC
Permalink
I mean like the File Parameter , I need a parameter directory .
Post by 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+***@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.
RAJENDRA PRASAD
2018-11-08 09:04:35 UTC
Permalink
Ok then , is Jenkins instance running on the same machine?

Thanks,
Rajendra
Post by yossibr9876
I mean like the File Parameter , I need a parameter directory .
Post by 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
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 jenkinsci-users+***@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.
yossibr9876
2018-11-08 09:10:36 UTC
Permalink
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
Post by RAJENDRA PRASAD
Ok then , is Jenkins instance running on the same machine?
Thanks,
Rajendra
Post by yossibr9876
I mean like the File Parameter , I need a parameter directory .
Post by 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
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 jenkinsci-users+***@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.
RAJENDRA PRASAD
2018-11-08 09:59:37 UTC
Permalink
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" <***@gmail.com> 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
Post by RAJENDRA PRASAD
Ok then , is Jenkins instance running on the same machine?
Thanks,
Rajendra
Post by yossibr9876
I mean like the File Parameter , I need a parameter directory .
Post by 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
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 jenkinsci-users+***@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
<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 jenkinsci-users+***@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.
yossibr9876
2018-11-08 11:04:13 UTC
Permalink
Thanks Rajendra !!!

On Thursday, November 8, 2018 at 12:00:03 PM UTC+2, rajendraprasad reddy
Post by 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
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
Post by RAJENDRA PRASAD
Ok then , is Jenkins instance running on the same machine?
Thanks,
Rajendra
Post by yossibr9876
I mean like the File Parameter , I need a parameter directory .
Post by 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
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
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 jenkinsci-users+***@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.
yossibr9876
2018-11-08 09:37:52 UTC
Permalink
my goal is to copy all the files under the selected folder on the client
machine
Post by 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+***@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.
Loading...