Re: Kubernetes plugin in a JobDSL environment

2019-04-05 Thread Sean Walberg
I don't suppose you know which option that is? I see a default parent, but no default container. Thanks! Sean On Thursday, April 4, 2019 at 3:44:25 PM UTC-4, Carlos Sanchez wrote: > > You can't use 'container' with freestyle jobs, there's no way to switch > containers . > IIRC you can set the d

Re: Kubernetes plugin in a JobDSL environment

2019-04-04 Thread Carlos Sanchez
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 wrote: > Hi, > > The kubernetes-plugin has the "container" keyword to run commands inside > the given cont

Kubernetes plugin in a JobDSL environment

2019-04-04 Thread Sean Walberg
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