The company I work for had a similar issue.  Our solution was to run slaves 
that were logged in as the user to be tested.  We had to use the JNLP slave 
starting method for this work properly; the SSH and Windows Services 
methods always logged in as an admin.  Then we targeted the job at the 
particular slave that was running as a particular user.

I don't know of any way to run as multiple users on the Jenkins master 
itself - but that was fine for us.
Jason Swager

On Friday, January 4, 2013 1:14:29 PM UTC-8, Adam Tong wrote:
>
> Hi, 
>
> If it is complicated to make it personalized (each job has a 
> possibility to get run under a different user), Running the hole 
> service and all jobs as a specific user different than the default 
> "jenkins" user would help me to solve the issue that I have now. 
>
> Thank you 
>
> On Fri, Jan 4, 2013 at 4:11 PM, Slide <slide...@gmail.com <javascript:>> 
> wrote: 
> > Do you want to run the whole service under a different user or just 
> specific 
> > jobs? 
> > 
> > slide 
> > 
> > 
> > On Fri, Jan 4, 2013 at 2:10 PM, Adam Tong <adam....@gmail.com<javascript:>> 
> wrote: 
> >> 
> >> Hi, 
> >> 
> >> Is there a way to run jenkins as a different user? 
> >> 
> >> If yes please tell me how. 
> >> 
> >> Thank you 
> > 
> > 
> > 
> > 
> > -- 
> > Website: http://earl-of-code.com 
>

Reply via email to