the problem is how to know when you want a container be a default, you
would need to pass it as an option in the pod template definition

On Tue, Aug 21, 2018 at 12:59 AM Rick <[email protected]> wrote:

> When I configure a pod template with java container. Then run a shell
> script in pipeline, it will cause an error that can't find command java. So
> I must specify the container as java first.
> I suggest that the java container should be the default container instead
> of jnlp. Any feedback is thankful, welcome to discuss.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" 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-dev/15e65662-377e-41d3-8ee9-9177c8a044e1%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/15e65662-377e-41d3-8ee9-9177c8a044e1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/CALHFn6PcDHb6mD5S8PE069z141h_MFi1ncLdhWrdxb73okLMsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to