You would probably be interested in https://issues.jenkins-ci.org/browse/JENKINS-48050
On Mon, Mar 5, 2018 at 1:08 PM, Tristan FAURE <[email protected]> wrote: > Hello all, > > we are currently experiencing docker capabilities in jenkins with > Jenkinsfile and declarative pipelines using this instruction : > agent { > docker { image 'node:7-alpine' } > } > > I try to follow the initiatives around kubernetes and it seems very > interesting but what I can see from the github ( > https://github.com/jenkinsci/kubernetes-plugin) is that the syntax > changed to declare the desired POD : > > podTemplate(label: label) { > node(label) { > stage('Run shell') { > container('mycontainer') { > sh 'echo hello world' > } > } > } > } > > Can we imagine the future a compability between the first syntax (only the > image name) and a deployment on Kubernetes ? > > We will not deploy yet a kubernetes cluster and I'm concerned about job > compatibility switching from a docker only environment to a kubernetes one. > > Regards > > Tristan FAURE > > > > -- > 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/be4fda12-946d-4277-9dc0-e60ee1f1730a%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/be4fda12-946d-4277-9dc0-e60ee1f1730a%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 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/CALHFn6M%3D7jUz3sNw%3Dh008eB0eG8s4W-5LmMohRNabKngbZS3ZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
