0
0
Jenkinsdevops~10 mins

Creating first admin user in Jenkins - Visual Walkthrough

Choose your learning style9 modes available
Process Flow - Creating first admin user
Start Jenkins
Access Jenkins UI
Go to Manage Jenkins
Select Manage Users
Click Create User
Fill user details
Assign Admin Role
Save User
User created with admin rights
This flow shows the step-by-step process to create the first admin user in Jenkins through its web interface.
Execution Sample
Jenkins
1. Open Jenkins UI in browser
2. Click 'Manage Jenkins'
3. Click 'Manage Users'
4. Click 'Create User'
5. Enter username, password, full name, email
6. Save user with admin rights
This sequence creates a new admin user in Jenkins via the web interface.
Process Table
StepActionInput/SelectionResult
1Open Jenkins UIhttp://localhost:8080Jenkins dashboard loads
2Click 'Manage Jenkins'Manage Jenkins linkManage Jenkins page opens
3Click 'Manage Users'Manage Users linkUsers list page opens
4Click 'Create User'Create User buttonUser creation form opens
5Fill user detailsUsername: admin Password: secret Full Name: Admin User Email: admin@example.comForm filled
6Assign admin roleSelect admin privileges (default for first user)User will have admin rights
7Click 'Save'Save buttonUser created and listed with admin rights
8Verify userLogin with new admin userAccess granted with admin privileges
💡 User creation completes after saving and verifying admin access
Status Tracker
VariableStartAfter Step 5After Step 7Final
usernamenulladminadminadmin
passwordnullsecretsecretsecret
full_namenullAdmin UserAdmin UserAdmin User
emailnulladmin@example.comadmin@example.comadmin@example.com
user_rolenullpendingadminadmin
user_listemptyemptycontains admin usercontains admin user
Key Moments - 3 Insights
Why do we need to assign the admin role explicitly?
Assigning the admin role ensures the user has full permissions. In the execution_table step 6, this step sets the user's privileges to admin.
What happens if we skip filling the password?
Without a password (step 5), the user cannot log in. The form will usually prevent saving until all required fields are filled.
How do we verify the user has admin rights?
In step 8, logging in with the new user and accessing admin features confirms the user has admin rights.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution_table, what is the result after clicking 'Create User'?
AUsers list page opens
BUser creation form opens
CJenkins dashboard loads
DManage Jenkins page opens
💡 Hint
Check execution_table row with Step 4 for the result of clicking 'Create User'
At which step is the user assigned admin privileges?
AStep 6
BStep 7
CStep 5
DStep 8
💡 Hint
Look at the 'Action' and 'Result' columns in execution_table for Step 6
If the password is missing at Step 5, what will likely happen?
AUser gets admin rights anyway
BUser is created without password
CForm prevents saving user
DUser is created but cannot login
💡 Hint
Refer to key_moments about required fields and form validation at Step 5
Concept Snapshot
Creating first admin user in Jenkins:
1. Open Jenkins UI
2. Navigate Manage Jenkins > Manage Users
3. Click Create User
4. Fill username, password, full name, email
5. Assign admin role
6. Save user
7. Verify login with admin rights
Full Transcript
To create the first admin user in Jenkins, start by opening the Jenkins web interface. Navigate to 'Manage Jenkins' then 'Manage Users'. Click 'Create User' to open the user creation form. Fill in the username, password, full name, and email fields. Assign the admin role to give full permissions. Save the user. Finally, verify by logging in with the new admin user to confirm admin access.