Re: Not able to access and create files in path location(\\\\192.168.0.1/f$/D:\\p.txt)

2018-09-25 Thread 'Björn Pedersen' via Jenkins Users
Hi, 

There are a few  things which could be the reason ( and your descriptions 
are a bit too sparse to guess what is).

1) Is jenkins running on your local host?  (only then the 192 probably 
resolve to a correct host)
if not: 
  2) is the job  running on master  or on an agent ( again, the 192... will 
probably be wrong) 
  3)  does the jenkins host or agent mount the volume in question?

4) as  mentioned: Does the jenkins user (this is not the user logging in ot 
jenkins, but the user that starts jenkins (or the user the agent is running 
as)) have access to the folder?

Generally accessing global ressources like a shared folder from jenkins 
should be done with care, as in a typical setup often more than one job may 
run in parallel.

Björn

Am Mittwoch, 26. September 2018 08:21:19 UTC+2 schrieb Saikumar Korada:
>
> thats fine. Its creating the file in local.
> For ex:shared path(192.168.0.1\\foldername\\p.txt) while executing the 
> program through eclipse its working and creating the filse in shared path. 
> if iam running through jenkins its not creating.
> we are using active directory Authenticator. Not the Jenkins user.
>
> On Monday, September 24, 2018 at 3:42:07 PM UTC+5:30, Andreas Magnusson 
> wrote:
>>
>> Your UNC path looks very strange. As I interpret it you have the 
>> following parts:
>> 192.168.0.1 - localhost probably
>> f$ - automatic share created by windows on drive F:
>> D:\\p.txt - file on another drive
>>
>> Question is, what are you trying to access? You could try:
>> 192.168.0.1\D$\p.txt
>>
>> On Sunday, September 23, 2018 at 3:23:17 PM UTC+2, Saikumar Korada wrote:
>>>
>>> while executing the program through eclipse its working. if iam running 
>>> through jenkins its not working.
>>>
>>

-- 
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/92d2966d-a648-4c11-8221-04aacf6d35ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to access and create files in path location(\\\\192.168.0.1/f$/D:\\p.txt)

2018-09-25 Thread Saikumar Korada
thats fine. Its creating the file in local.
For ex:shared path(192.168.0.1\\foldername\\p.txt) while executing the 
program through eclipse its working and creating the filse in shared path. 
if iam running through jenkins its not creating.
we are using active directory Authenticator. Not the Jenkins user.

On Monday, September 24, 2018 at 3:42:07 PM UTC+5:30, Andreas Magnusson 
wrote:
>
> Your UNC path looks very strange. As I interpret it you have the following 
> parts:
> 192.168.0.1 - localhost probably
> f$ - automatic share created by windows on drive F:
> D:\\p.txt - file on another drive
>
> Question is, what are you trying to access? You could try:
> 192.168.0.1\D$\p.txt
>
> On Sunday, September 23, 2018 at 3:23:17 PM UTC+2, Saikumar Korada wrote:
>>
>> while executing the program through eclipse its working. if iam running 
>> through jenkins its not working.
>>
>

-- 
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/d0d26c8c-9471-4990-b029-d6103c082276%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to access and create files in path location(\\\\192.168.0.1/f$/D:\\p.txt)

2018-09-24 Thread Andreas Magnusson
Your UNC path looks very strange. As I interpret it you have the following 
parts:
192.168.0.1 - localhost probably
f$ - automatic share created by windows on drive F:
D:\\p.txt - file on another drive

Question is, what are you trying to access? You could try:
192.168.0.1\D$\p.txt

On Sunday, September 23, 2018 at 3:23:17 PM UTC+2, Saikumar Korada wrote:
>
> while executing the program through eclipse its working. if iam running 
> through jenkins its not working.
>

-- 
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/114deb51-4263-4fd7-b69c-270cb92b8615%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to access and create files in path location(\\\\192.168.0.1/f$/D:\\p.txt)

2018-09-23 Thread Saikumar Korada
different user means

On Sunday, September 23, 2018 at 8:29:58 PM UTC+5:30, slide wrote:
>
> Your issue could be caused by Jenkins running as a different user, though 
> from your description it is difficult to tell. Can you please give more 
> information so we can better help?
>
> On Sun, Sep 23, 2018, 06:23 Saikumar Korada  > wrote:
>
>> while executing the program through eclipse its working. if iam running 
>> through jenkins its not working.
>>
>> -- 
>> 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/1e8e67bd-63c2-4b38-81e9-443b5cca66b4%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/9e09b4c1-a4b2-4732-89f3-46f8deb99396%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to access and create files in path location(\\\\192.168.0.1/f$/D:\\p.txt)

2018-09-23 Thread Slide
Your issue could be caused by Jenkins running as a different user, though
from your description it is difficult to tell. Can you please give more
information so we can better help?

On Sun, Sep 23, 2018, 06:23 Saikumar Korada 
wrote:

> while executing the program through eclipse its working. if iam running
> through jenkins its not working.
>
> --
> 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/1e8e67bd-63c2-4b38-81e9-443b5cca66b4%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/CAPiUgVe3%2Bvbs_HkrwzQskixBKMB0bGJSrNyMunk5ErotgJN%2Bag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Not able to access and create files in path location(\\\\192.168.0.1/f$/D:\\p.txt)

2018-09-23 Thread Saikumar Korada
while executing the program through eclipse its working. if iam running 
through jenkins its not working.

-- 
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/1e8e67bd-63c2-4b38-81e9-443b5cca66b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.