3

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)

Daniel Widdis
  • 8,424
  • 13
  • 41
  • 63

1 Answers1

1

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.

Jayan
  • 18,003
  • 15
  • 89
  • 143
  • Hi Jayan, thank you for the fast reply. I'm running 2 jenkins nodes on the same maschine. I have to do some special config, but you answer was really helpfull. Thanks. – Dotapiskota Jul 11 '16 at 17:56
  • 2
    @ Dotapiskota: You may add (edit this answer or your own answer) your configuration details. That will help someone with similar requirements. – Jayan Jul 12 '16 at 02:56