jenkinspluginsmaster-slavejenkins-cli

Multiple Slaves with multiple Users


I have to run some agents on multiple Windows clients. (Windows Server 2012R2).

The agent must run with a specific user. Is there any option to run a job with multiple Windows users on the same slave?

For example:

PC 1 logged on user: bob, jimmy, jane (3 different jobs with 3 different users)


Solution

  • One slave will have one windows credential. (You may try 'run as', but that is bit complicated)

    Another option is to run jenkins slave process with different windows user accounts. I use jnlp or swarm agent.