[JIRA] (JENKINS-58574) showRawYaml parameter doesn't work for nested podTemplates

9 views
Skip to first unread message

sergio.merino.a@gmail.com (JIRA)

unread,
Jul 19, 2019, 1:21:03 PM7/19/19
to jenkinsc...@googlegroups.com
Sergio Merino created an issue
 
Jenkins / Bug JENKINS-58574
showRawYaml parameter doesn't work for nested podTemplates
Issue Type: Bug Bug
Assignee: Carlos Sanchez
Components: kubernetes-plugin
Created: 2019-07-19 17:20
Priority: Minor Minor
Reporter: Sergio Merino

kubernetes plugin version:  1.17.2

With a normal podTemplate I can set showRawYaml to false to don't show the YAML, but if I nest it, the second podTemplate show the YAML whether I set showRawYaml to false or not

I have tested it in a pipeline job with this code:

podTemplate(showRawYaml: false, label: "alpine1", cloud: "Build farm", containers: [
  containerTemplate(name: 'alpine', image: 'alpine', ttyEnabled: true, command: "cat")]) {
    node ("alpine1") {
        container('alpine') {
            sh 'whoami'
            podTemplate(showRawYaml: false, label: "alpine2", cloud: "Build farm", containers: [
              containerTemplate(name: 'alpine', image: 'alpine', ttyEnabled: true, command: "cat")]) {
              node ("alpine2") {
                container('alpine') {
                  sh 'whoami'
                }
              }
            }
        }
    }
}

 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

unread,
Jul 26, 2019, 11:48:04 AM7/26/19
to jenkinsc...@googlegroups.com
Jesse Glick started work on Bug JENKINS-58574
 
Change By: Jesse Glick
Status: Open In Progress

jglick@cloudbees.com (JIRA)

unread,
Jul 26, 2019, 11:48:04 AM7/26/19
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Vincent Latombe
Change By: Jesse Glick
Assignee: Carlos Sanchez Vincent Latombe

jglick@cloudbees.com (JIRA)

unread,
Jul 26, 2019, 11:48:05 AM7/26/19
to jenkinsc...@googlegroups.com

vincent@latombe.net (JIRA)

unread,
Jul 29, 2019, 3:38:02 AM7/29/19
to jenkinsc...@googlegroups.com
Change By: Vincent Latombe
Status: In Review Fixed but Unreleased
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages