You can't just jump from a container to another, can only share through network or shared filesystem. http://kubernetes.io/docs/user-guide/pods/
I suggest using the Kubernetes Jenkins plugin that can do exactly what you want using pipeline https://github.com/jenkinsci/kubernetes-plugin/blob/master/README.md#pipeline-support -- 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/0dd10c35-3b03-40e5-b414-5c1f9069821b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
