How do I change user in Jenkins?
In respect to this, how do I run a Jenkins job as a different user?
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.
- Step 2: Now navigate to the Secrets folder in your .
- Step 3: Open it in Notepad to be able to read it.
- Step 4: The file must have a password.
- Step 5: Paste the password in the password textbox.
- Step 6: To do that just click on People option located in the left-hand sidebar.
Beside this, how do I manage users in Jenkins?
in jenkins go to Manage Jenkins > Configure Global Security and select the "Enable Security" check box. select "Jenkins Own User Database" for the security realm and then select "Logged in Users can do anything" or a matrix based strategy (If you have multiple users with different permissions) for the Authorization.
If you go to the People view, you can click a user and then choose Delete in the left-hand menu (if you have Administer access). You could also delete the folder [jenkins-root]/Users/[username] and re-start Jenkins.