How to run jenkins jobs in particular windows user context

447 views
Skip to first unread message

pratap Ghosh

unread,
Apr 18, 2016, 10:48:13 AM4/18/16
to Jenkins Users
Here is the scenario...

I have a windows machine which has three user say A,B,C. And I have three jobs say X,Y,Z. Now I want to run job X,Y,Z simultaneously in such a way that job X runs in user A's context, job Y runs in user B's context and job Z runs on user C'c context. Is it possible?? If possible please help me out. 

@Note - I don't want to run job X,Y,Z in same user's context.


Thanks,
Pratap     

Mark Waite

unread,
Apr 18, 2016, 10:51:45 AM4/18/16
to Jenkins Users

One way would be to run a slave for each context,  assign a different label to each slave,  then restrict the jobs to slaves which have the specific label for that context.

Mark Waite


--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/cf2f383a-40c9-46e6-8b2c-e598a33b9893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Harry G.

unread,
Apr 18, 2016, 1:08:21 PM4/18/16
to Jenkins Users
We used CPAU in some cases for that... kind of command line "run as" for Windows.
http://www.joeware.net/freetools/tools/cpau/
Reply all
Reply to author
Forward
0 new messages