[JIRA] (JENKINS-48135) kubernetes-plugin should support multiple containers in declarative templates
Title: Message Title Frederic Rousseau commented on JENKINS-48135 Re: kubernetes-plugin should support multiple containers in declarative templates ideally you exclude the yaml in a separate file (ie: kube.yaml) and load it from there. In practice because we need a node to use a function like readFile.. I ended up putting the text in the pipeline. Which is bad because now we have lots of duplicates. Indeed, I don't know if completing the implementation of podTemplate is a good idea, but there is definitely something to do here. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-48135) kubernetes-plugin should support multiple containers in declarative templates
Title: Message Title Michael mich...@wyraz.de commented on JENKINS-48135 Re: kubernetes-plugin should support multiple containers in declarative templates Hello, I think this Issue should be re-openend until podTemplate with multiple containers is supported (as in the initial request). The YAML is a valid workaround but adds another language (yaml) to the groovy file which reduces the readability of the Jenkinsfile. Kind regards, Michael. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-48135) kubernetes-plugin should support multiple containers in declarative templates
Title: Message Title Carlos Sanchez updated JENKINS-48135 Jenkins / JENKINS-48135 kubernetes-plugin should support multiple containers in declarative templates Change By: Carlos Sanchez Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-48135) kubernetes-plugin should support multiple containers in declarative templates
Title: Message Title Carlos Sanchez commented on JENKINS-48135 Re: kubernetes-plugin should support multiple containers in declarative templates I have created a PR that allows multiple containers using the yaml syntax https://github.com/jenkinsci/kubernetes-plugin/pull/306 pipeline { agent { kubernetes { label 'mypod' defaultContainer: 'jnlp' yaml """ apiVersion: v1 kind: Pod metadata: labels: some-label: some-label-value spec: containers: - name: maven image: maven:alpine command: - cat tty: true - name: busybox image: busybox command: - cat tty: true """ } } stages { stage('Run maven') { steps { container('maven') { sh 'mvn -version' } container('busybox') { sh '/bin/busybox' } } } } } Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-48135) kubernetes-plugin should support multiple containers in declarative templates
Title: Message Title Carlos Sanchez started work on JENKINS-48135 Change By: Carlos Sanchez Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-48135) kubernetes-plugin should support multiple containers in declarative templates
Title: Message Title Carlos Sanchez updated JENKINS-48135 Jenkins / JENKINS-48135 kubernetes-plugin should support multiple containers in declarative templates Change By: Carlos Sanchez Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-48135) kubernetes-plugin should support multiple containers in declarative templates
Title: Message Title Carlos Sanchez updated an issue Jenkins / JENKINS-48135 kubernetes-plugin should support multiple containers in declarative templates Change By: Carlos Sanchez Summary: kubernetes-plugin should support podTemplate multiple containers in declarative templates Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.