Inside Jenkins Jobs & Builds folder, I am creating a text file and writing some content through Java program. As I am part of corporate network, I am inside firewall with many security rules where I have been restricted to write/update the program files directory under C: drive. Although I am administrator in my local machine, however the company policies are still applied which is denying me access to write/delete any files from the Jenkins directory. I see Jenkins is nicely reading/modifying/writing any files/folders without any issues which is believed to the typical behavior of Jenkins's *USER*.
Question 1: Is there any way I can use this Jenkins's user through my code so I can avail access on to these directories? Question 2: Are there ways to solve this issue through Java code? (Note: I have tried writing a file with Run as Administration java code as well) Kindly let me know if I am missing any details,.any help is highly appreciated. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
