Interview Prep/Jenkins/Plugins, JCasC & Jenkins on Kubernetes

What does `podRetention` and `idleMinutes` control?

IntermediateConceptPlugins, JCasC & Jenkins on Kubernetes
Answer

podRetention decides whether pods are deleted after the build: never (default, delete), onFailure (keep failed pods for debugging), or always. idleMinutes keeps a pod alive for reuse by later builds with the same label, trading isolation for speed. In production we delete pods and only enable onFailure temporarily while debugging, because retained pods consume quota.

All Jenkins questions Roadmap: Jenkins

More on Plugins, JCasC & Jenkins on Kubernetes