I have a jenkins setup with multiple users which are logging in with Active Directory plugin. This is useful so that each user can access his own tasks.
However each user also has different permissions on the local network, such as access to different folders etc. I have noticed that the permissions given to each task is not linked to the user but to the account under which the slave is running as service. Is there a way to change that so that the task is executed on the slave under the credential (and hence permissions) of the user?
Thank you
To run a job by a specific user, you have to enable security options in jenkins. May be you have not used the enable security options in Jenkins and that is why it says started by anonymous user. You can create any number of users in Jenkins by providing their credentials.
Basic usage. Visit a url like http:``//myslave:3141 to see whether a slave is running and how much memory it is using. Configure the port used by clicking Manage Jenkins on the dashboard.
There are two ways of authentication for setting up the Linux Jenkins slave agents.
you can partially fix your problem this way:
This at least gives you the ability to use one account instead of system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With