Complete the code to list all installed Jenkins plugins using the Jenkins 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 update Jenkins plugins using the CLI.
java -jar jenkins-cli.jar -s http://localhost:8080 [1]
The install-plugin command upgrades plugins to their latest versions (specify plugin names).
Fix the error in the command to update a specific plugin named 'git'.
java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin [1]
The correct syntax to upgrade a specific plugin is install-plugin git.
Fill both blanks to update plugins and restart Jenkins safely.
java -jar jenkins-cli.jar -s http://localhost:8080 [1] && java -jar jenkins-cli.jar -s http://localhost:8080 [2]
First, upgrade plugins with install-plugin, then safely restart Jenkins with safe-restart to apply changes without dropping jobs.
Fill all three blanks to list plugins, upgrade plugins, and restart Jenkins safely.
java -jar jenkins-cli.jar -s http://localhost:8080 [1] && java -jar jenkins-cli.jar -s http://localhost:8080 [2] && java -jar jenkins-cli.jar -s http://localhost:8080 [3]
First, list plugins with list-plugins, then upgrade with install-plugin, and finally safely restart Jenkins with safe-restart.