Two plugins require different versions of a shared dependency, and `jenkins-plugin-cli` fails the image build. What do you do?
IntermediateScenarioPlatform: plugins, JCasC & Kubernetes agents
Answer
Situation read → Dependency conflict, typically one plugin is too old for the other's requirement.
What I'd do →
- Read the error; it names the plugin and required version.
- Update the older plugin to a version compatible with the newer dependency (check its changelog and required core).
- If one plugin is abandoned and blocks the upgrade, replace or remove it.
- Let
jenkins-plugin-cliresolve transitive dependencies; pin only top-level plugins plus any you explicitly need.
Why → Over-pinning transitive dependencies causes many of these conflicts.
Interview tip → Show you know the difference between top-level and transitive pins.
More on Platform: plugins, JCasC & Kubernetes agents
You inherit a controller with 230 plugins, half unused, on a version two LTS lines behind. Plan the cleanup and upgrade.AdvancedAn admin changes a cloud setting in the UI, and it reverts after the next controller restart. Developers are confused. What is your policy?BeginnerYou must stand up a new Jenkins controller for a team in under an hour, identical to the existing ones. How?IntermediateBuilds wait 2–3 minutes before starting because new agent pods are slow to schedule. How do you speed up agent startup?AdvancedDevelopers need Docker image builds in Kubernetes agents, but the cluster runs containerd and security forbids privileged pods. What do you choose?AdvancedThe controller needs to provision agents in three Kubernetes clusters in different regions. How do you configure it?Advanced