--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/940dcae2-e0d8-4b44-83c5-b0640b3e204d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can't use 'container' with freestyle jobs, there's no way to switch containers .IIRC you can set the default container to be different than jnlp
On Thu, Apr 4, 2019, 20:34 Sean Walberg <swal...@gmail.com> wrote:
Hi,--The kubernetes-plugin has the "container" keyword to run commands inside the given container instead of the default jnlp sidecar. Is there an equivalent in Job DSL?We have everything defined in Job DSL as freestyle jobs and I'm able to point a job to the Kubernetes label and it'll spin up the containers, but everything gets run in the jnlp container, not the one I defined in the global config. The container keyword fixes it if I make a Pipeline job but unfortunately we don't use that.Thanks,Sean
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 jenkins...@googlegroups.com.