On Thursday, December 19, 2013 8:56:59 AM UTC-7, Ci-Ci Thomson wrote:
>
> I have a Jenkins instance setup for our Django projects where we create a 
> virtualenv as a deployable artifact.  All of our code is owned by a user 
> called webapp and so the virtualenv has to be created with that user.  
> Because of this, I find myself doing sudo -u webapp <command> quite often 
> in the Jenkins job.  My question is what is the best practice for doing 
> something like this?  This is becoming a problem when I want to execute 
> commands that only exist inside the virtualenv.
>

Does the code have to be owned by "webapp"? If it does, you might want to 
execute a Jenkins slave as "webapp" to run the job. 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to