Hello,

I'm trying to set a default container in podTemplate like

podTemplate(
    label: "my-label",
    inheritFrom: 'default-agent',
    defaultContainer: 'my-container',
    containers: [
      containerTemplate(
        name: 'my-container',
        image: "gcr.io/....",
        ttyEnabled: true
      ),
    ],
 )

But podTemplate doesn't seem to have defaultContainer attribute.
What is the right way to set a default container in podTemplate?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1be035fe-2e21-41a4-9b80-9aa07504fac0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to