Use sudo or set up a dedicated slave for this job running in the same host 
running as the deploy user. I myself would use sudo because it allows better 
control on what exactly Jenkins can execute as the deploy user.

-- Sami

Aharon Twizer <aharon.twi...@gmail.com> kirjoitti 7.5.2013 kello 9.06:

> Hi Guys,
> 
> I'm trying to deploy my job artifacts to my Prod environment (All windows 
> servers).
> 
> The problem is that my Jenkins servers lays in one domain any my prod servers 
> are in a different one, so I must supply credentials for the deploy process.
> 
> How can I run specific job(The one that deploys to Prod) under different user 
> so the copy will be successful?
> 
> By the way I'm using proj script to copy the artifacts.
> 
> Thanks,
> -- 
> 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.
>  
>  

-- 
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