Complete the code to list all installed Jenkins plugins using the CLI.
java -jar jenkins-cli.jar -s http://localhost:8080 [1]
The list-plugins command lists all installed plugins in Jenkins.
Complete the command to install the 'git' plugin using Jenkins CLI.
java -jar jenkins-cli.jar -s http://localhost:8080 [1] git
The install-plugin command installs a plugin by name.
Fix the error in the command to update all plugins using Jenkins CLI.
java -jar jenkins-cli.jar -s http://localhost:8080 [1]
The correct command to update all plugins is update-plugins.
Fill both blanks to restart Jenkins safely after plugin installation.
java -jar jenkins-cli.jar -s http://localhost:8080 [1] && java -jar jenkins-cli.jar -s http://localhost:8080 [2]
First, install the plugin with install-plugin, then safely restart Jenkins with safe-restart.
Fill all three blanks to install multiple plugins and restart Jenkins safely.
java -jar jenkins-cli.jar -s http://localhost:8080 [1] git [2] docker [3] && java -jar jenkins-cli.jar -s http://localhost:8080 safe-restart
Use install-plugin twice for each plugin, with --deploy to apply changes immediately before safe restart.
