POD template being printed in the console

Article ID:360034533791
1 minute readKnowledge base

Issue

  • I want to avoid the POD templates from being printed in the build console.

  • After upgrading to 2.176.3.2 I noticed the POD templates are being printed in the build console.

Resolution

Find the POD template configuration you are using in your job and uncheck Show raw yaml in console:

Depending on the job, the POD template used can be configured either inside the Operations Center: Manage Jenkins -> Kubernetes Pod Templates or in a Kubernetes Cloud Configuration project, which should have the following icon:

Examples

Show raw yaml in console Enabled:

Show raw yaml in console Disabled:

Tested product/plugin versions

  • 2.176.3.2-rolling CloudBees Core

  • 1.17.2 Kubernetes Plugin