What does `jenkins-plugin-cli` resolve for you, and what flags matter?
IntermediateConceptPlugins, JCasC & Jenkins on Kubernetes
Answer
It downloads plugins and their transitive dependencies, checks minimum core versions, and fails on conflicts. Useful flags:
jenkins-plugin-cli --plugin-file plugins.txt --verbose
jenkins-plugin-cli --plugins kubernetes:latest git:latest --latest false
jenkins-plugin-cli --list --plugin-file plugins.txt
jenkins-plugin-cli --available-updates --output txt --plugin-file plugins.txt
jenkins-plugin-cli --view-security-warnings --plugin-file plugins.txt
--jenkins-version checks compatibility against a specific core version without a running instance.
More on Plugins, JCasC & Jenkins on Kubernetes
How do you manage plugins in a reproducible way?IntermediateWhy should you keep the number of plugins low?BeginnerWhat is JCasC and how is it loaded?BeginnerWhat are the top-level root elements in a JCasC file?IntermediateHow do you inject secrets into JCasC without committing them?AdvancedHow do you configure authorization with JCasC?Intermediate