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 [email protected]. 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.
