Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52829

Is there a way to inherit a pod template with declarative pipeline?

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Incomplete
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      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 """ }

      }

            csanchez Carlos Sanchez
            raylim Ray Lim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: