Interview Prep/Jenkins/Platform: plugins, JCasC & Kubernetes agents

You want to roll out a new version of the `jnlp` inbound-agent image to all pod templates. How?

BeginnerScenarioPlatform: plugins, JCasC & Kubernetes agents
Answer

Situation read → The jnlp image is set per template or defaulted by the plugin.

What I'd do →

  1. Define the jnlp container once in a base template in JCasC (name: base, container jnlp with image: jenkins/inbound-agent:<version>-jdk21).
  2. Make other templates inheritFrom: base.
  3. Bump the version in JCasC via PR, reload, run smoke builds.

Why → Inheritance means one change propagates; agents with old remoting versions can also trigger compatibility warnings.

Interview tip → Keep the remoting version close to the controller's for compatibility.

All Jenkins questions Roadmap: Jenkins

More on Platform: plugins, JCasC & Kubernetes agents