0
0
Jenkinsdevops~20 mins

Jenkins plugin system concept - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Jenkins Plugin Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
How Jenkins manages plugins internally
Which component in Jenkins is responsible for managing the lifecycle of plugins including installation, updates, and dependencies?
AJob Scheduler
BBuild Executor
CPlugin Manager
DCredential Store
Attempts:
2 left
💡 Hint
Think about the part that handles adding or removing extra features in Jenkins.
💻 Command Output
intermediate
1:30remaining
Output of Jenkins CLI plugin list command
What is the expected output when running the Jenkins CLI command java -jar jenkins-cli.jar list-plugins on a Jenkins server with plugins installed?
Jenkins
java -jar jenkins-cli.jar -s http://localhost:8080 list-plugins
Aplugin-name version enabled status
BError: Command not found
CList of all jobs in Jenkins
DCurrent build queue status
Attempts:
2 left
💡 Hint
This command shows details about installed plugins, not jobs or builds.
Configuration
advanced
2:00remaining
Configuring plugin update sites in Jenkins
Which XML configuration file in Jenkins contains the list of plugin update sites that Jenkins checks for plugin updates?
Ahudson.model.UpdateCenter.xml
Bupdate-center-root.xml
Chudson.plugins.update-center.xml
Dhudson.plugins.update-center-root.xml
Attempts:
2 left
💡 Hint
Look for a file related to UpdateCenter in the Jenkins home directory.
Troubleshoot
advanced
2:00remaining
Troubleshooting plugin dependency errors
If Jenkins fails to start due to a plugin dependency error, which of the following is the best first step to resolve the issue?
ARestart Jenkins multiple times without changes
BManually remove the problematic plugin from the plugins directory
CDelete the entire Jenkins home directory
DDisable all plugins via the Jenkins UI
Attempts:
2 left
💡 Hint
Think about fixing the problem by removing the cause directly.
🔀 Workflow
expert
2:30remaining
Order of plugin installation steps in Jenkins
Arrange the following steps in the correct order when installing a new plugin manually in Jenkins:
A3,1,2,4
B2,1,3,4
C1,3,2,4
D1,2,3,4
Attempts:
2 left
💡 Hint
Think about first getting the plugin file, then placing it, restarting, and finally checking.