Am 28.01.2016 um 02:03 schrieb hezjing:

> What are the differences between these two ways? Any better idea?

The difference is that you'd need to solve how to access the different
user accounts via ssh (distribute, possibly passwordless, keys) and also
get the commands right for remote execution.

How about using one slave per node and use sudo to execute commands as
different users? This way, you get fine grained control over what the
Jenkins user is allowed to execute as those other users and, at the same
time, avoid the key management hassle.

HTH...

    Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 1596666 (Ansage) 1149
*Email*: d...@recommind.com <mailto:d...@recommind.com>
*Skype*: dirk.heinrichs.recommind
www.recommind.com <http://www.recommind.com>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/56A9B6FF.2060104%40recommind.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to