[JIRA] (JENKINS-52829) Is there a way to inherit a pod template with declarative pipeline?

Visto 2 veces
Saltar al primer mensaje no leído

raylimch@dbs.com (JIRA)

no leída,
1 ago 2018, 0:47:021/8/18
a jenkinsc...@googlegroups.com
Ray Lim created an issue
 
Jenkins / Improvement JENKINS-52829
Is there a way to inherit a pod template with declarative pipeline?
Issue Type: Improvement Improvement
Assignee: Carlos Sanchez
Components: kubernetes-plugin
Created: 2018-08-01 04:46
Labels: kuberenetes-plugin
Priority: Minor Minor
Reporter: Ray Lim

I am on plugin version 1.8.4

Is this supported?

pipeline {
  agent {
    kubernetes

{       label env.BUILD_TAG         inheritFrom 'base-template'         defaultContainer 'jnlp'         yaml """   containers:   - name: maven   image: maven:3.5   ttyEnabled: true """   }

}

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

raylimch@dbs.com (JIRA)

no leída,
1 ago 2018, 0:48:021/8/18
a jenkinsc...@googlegroups.com
Ray Lim updated an issue
Change By: Ray Lim
I am on plugin version 1.8.4

Is this supported?

pipeline {
  agent {
    kubernetes {
      label env.BUILD_TAG
        inheritFrom 'base-template'
        defaultContainer 'jnlp'
        yaml """
  containers:
  - name: maven
  image: maven:3.5
  ttyEnabled: true
"""
  }
}
Add Comment Add Comment
 

raylimch@dbs.com (JIRA)

no leída,
1 ago 2018, 0:49:021/8/18
a jenkinsc...@googlegroups.com

jenkins-ci@carlossanchez.eu (JIRA)

no leída,
1 ago 2018, 6:38:021/8/18
a jenkinsc...@googlegroups.com
Carlos Sanchez closed an issue as Incomplete
 

please ask questions in jenkins-user mailing list

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

jglick@cloudbees.com (JIRA)

no leída,
12 jun 2019, 15:34:0612/6/19
a jenkinsc...@googlegroups.com
Jesse Glick updated an issue
Change By: Jesse Glick
Labels: kuberenetes-plugin
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos