0
0
Jenkinsdevops~10 mins

Creating first admin user in Jenkins - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create the first admin user in Jenkins using the CLI.

Jenkins
java -jar jenkins-cli.jar -s http://localhost:8080 create-user --username [1] --password admin123 --full-name "Admin User" --email admin@example.com
Drag options to blanks, or click blank then click option'
Aroot
Buser
Cguest
Dadmin
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'user' or 'guest' as the admin username causes access issues.
Using 'root' is incorrect because Jenkins does not use system usernames.
2fill in blank
medium

Complete the command to create the first admin user with the Jenkins CLI specifying the server URL.

Jenkins
java -jar jenkins-cli.jar -s [1] create-user --username admin --password admin123 --full-name "Admin User" --email admin@example.com
Drag options to blanks, or click blank then click option'
Ahttp://jenkins.local:8080
Bftp://jenkins.local
Chttps://jenkins.local:22
Dfile:///var/jenkins
Attempts:
3 left
💡 Hint
Common Mistakes
Using FTP or file URLs instead of HTTP causes connection failures.
Using HTTPS without proper setup may cause errors.
3fill in blank
hard

Fix the error in the command to create the first admin user by choosing the correct option for the password flag.

Jenkins
java -jar jenkins-cli.jar -s http://localhost:8080 create-user --username admin [1] admin123 --full-name "Admin User" --email admin@example.com
Drag options to blanks, or click blank then click option'
A--pass
B--pwd
C--password
D-p
Attempts:
3 left
💡 Hint
Common Mistakes
Using short or incorrect flags like -p or --pass causes errors.
Misspelling the flag leads to command failure.
4fill in blank
hard

Fill both blanks to complete the Jenkins CLI command that creates the first admin user with username and password.

Jenkins
java -jar jenkins-cli.jar -s http://localhost:8080 create-user --username [1] [2] admin123 --full-name "Admin User" --email admin@example.com
Drag options to blanks, or click blank then click option'
Aadmin
B--password
C--pass
Duser
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect password flags like --pass.
Using wrong usernames like 'user' instead of 'admin'.
5fill in blank
hard

Fill all three blanks to complete the Jenkins CLI command creating the first admin user with username, password flag, and email.

Jenkins
java -jar jenkins-cli.jar -s http://localhost:8080 create-user --username [1] [2] admin123 --full-name "Admin User" --email [3]
Drag options to blanks, or click blank then click option'
Aadmin
B--password
Cadmin@example.com
Duser@example.com
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong email addresses.
Using short or incorrect password flags.