Challenge - 5 Problems
Jenkins Plugin Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Jenkins CLI: List Installed Plugins Output
What is the output of the following Jenkins CLI command when listing installed plugins?
java -jar jenkins-cli.jar -s http://localhost:8080/ list-pluginsJenkins
java -jar jenkins-cli.jar -s http://localhost:8080/ list-pluginsAttempts:
2 left
💡 Hint
The command shows plugin names with versions and their status as 'installed'.
✗ Incorrect
The 'list-plugins' command outputs each plugin with its version and status, such as 'installed'.
❓ Configuration
intermediate2:00remaining
Jenkins Plugin Installation via Script Console
Which Groovy script snippet correctly installs the 'git' plugin using Jenkins Script Console?
Jenkins
import jenkins.model.* import hudson.PluginManager import hudson.model.UpdateCenter // Script to install plugin
Attempts:
2 left
💡 Hint
Use UpdateCenter to deploy plugins, not PluginManager directly.
✗ Incorrect
The UpdateCenter object manages plugin downloads and installations. Calling deploy() on the plugin triggers installation.
❓ Troubleshoot
advanced2:00remaining
Jenkins Plugin Manager Error Diagnosis
You run the Jenkins CLI command to install a plugin but get this error:
What is the most likely cause?
ERROR: java.lang.IllegalArgumentException: No plugin named 'docker' foundWhat is the most likely cause?
Attempts:
2 left
💡 Hint
Check the exact plugin ID spelling in the update center.
✗ Incorrect
The error indicates Jenkins cannot find a plugin with the given name, usually due to a wrong plugin ID.
🔀 Workflow
advanced3:00remaining
Automating Plugin Updates in Jenkins
Which sequence of Jenkins CLI commands correctly updates all installed plugins to their latest versions?
Attempts:
2 left
💡 Hint
List plugins first, then install latest versions, update metadata, and restart safely.
✗ Incorrect
The correct workflow is to list plugins, install latest versions, update plugin metadata, then restart Jenkins safely.
✅ Best Practice
expert3:00remaining
Recommended Practice for Jenkins Plugin Management
What is the best practice for managing Jenkins plugins in a production environment to ensure stability and security?
Attempts:
2 left
💡 Hint
Testing plugin changes before production reduces risk.
✗ Incorrect
Automating plugin management with testing in staging ensures controlled, stable, and secure Jenkins production environments.