[JIRA] (JENKINS-56061) Containers created in templates via Raw Yaml are completely ignored

2019-02-11 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez closed an issue as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56061  
 
 
  Containers created in templates via Raw Yaml are completely ignored   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Duplicate  
 

  
 
 
 
 

 
 
 

 
 
 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-56061) Containers created in templates via Raw Yaml are completely ignored

2019-02-11 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez commented on  JENKINS-56061  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Containers created in templates via Raw Yaml are completely ignored   
 

  
 
 
 
 

 
 yaml is not merged  
 

  
 
 
 
 

 
 
 

 
 
 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-56061) Containers created in templates via Raw Yaml are completely ignored

2019-02-08 Thread skr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Tom Larrow created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56061  
 
 
  Containers created in templates via Raw Yaml are completely ignored   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Carlos Sanchez  
 
 
Components: 
 kubernetes-plugin  
 
 
Created: 
 2019-02-08 20:11  
 
 
Environment: 
 Jenkins 2.162  Kubernetes Plugin 1.14.3  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Tom Larrow  
 

  
 
 
 
 

 
 Trying to make the kubernetes plugin assign proper volumes to each container in the pod and running into some difficulties: Building with no template, and passing in the following .yaml to the kubernetes plugin works: from Jenkinsfile: 

 

agent {
kubernetes {
cloud 'openshift'
label 'golang-build'
yamlFile 'kubernetesPod.yaml'
}
} 

 kubernetesPod.yaml: 

 

spec:
  containers:
  - name: jnlp
image: 'jenkins/jnlp-slave:latest'
volumeMounts:
- name: gitconfig
  mountPath: /home/jenkins/.git/.gitconfig
  subPath: .gitconfig
  - name: docker
image: docker:1.13.1
command: ['cat']
tty: true
volumeMounts:
- name: dockersock
  mountPath: /var/run/docker.sock
- mountPath: /root/.docker/config.json
  subPath: config.json
  name: jenkins-creds
  - name: golang
image: golang:1-alpine
command: ['cat']
tty: true
  volumes:
  - name: dockersock
hostPath: