Sounds like your Jenkins is running as a different user that doesn't have permissions to write to that share.
On Tue, Sep 25, 2018 at 9:32 AM Saikumar Korada <[email protected]> wrote: > Hi one more clarification. > Re: Not able to access and create files in > pathlocation(\\\\192.168.0.1\\screenshots\\p.txt) Shared folder parh. > while executing the program through eclipse its working. if iam running > through jenkins its not working. > > On Mon, Sep 24, 2018, 4:29 PM Andreas Magnusson < > [email protected]> wrote: > >> [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible >> for Automatic Cleanup! ([email protected]) Add cleanup rule >> <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3D%252FGFK4Z0yeoIPk1M4kqpWluc5pusLH88CSekXO8ArWW4%253D%26token%3DJy%252BVMhiVRbpArvRInSJRJ99Ste0Xx8FnqWGRP69EXvGc3fwwGnKGpHx%252FX9RuzLkowqI7g%252B4zhWCvbGUwYU%252FWwBhR4Vww5DFH7c1yZNF4uhUNi5o6nEdwF5qaDxuyLN58iRHQUy8YDxWl4O3SsxeP%252FeFCvA%252BHDzhR&tc_serial=43485423917&tc_rand=721483304&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> >> | More info >> <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=43485423917&tc_rand=721483304&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> >> > 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/114deb51-4263-4fd7-b69c-270cb92b8615%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/114deb51-4263-4fd7-b69c-270cb92b8615%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/CA%2BRzXRCDVt5i%3D4KWeCy9LDoTKkp%2BuqsPpMFzjX8sfBtScfKc6A%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BRzXRCDVt5i%3D4KWeCy9LDoTKkp%2BuqsPpMFzjX8sfBtScfKc6A%40mail.gmail.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/CAPiUgVet%2B_X-1hUNUWsQT_ReD14D6PRvakE%2BbiiEJRnnQ02uDg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
