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

allow declarative pipelines to refer to a named podTemplate in the Jenkins Kubernetes configuration

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      I'd like to be able to refer to a podTemplate by name thats configured in Jenkins (Manage Jenkins -> Configure System -> Cloud -> Kubernetes -> Pod Templates) in a declarative pipeline.

      e.g. something like this

      pipeline {
        agent {
          kubernetes {
            label "fabric8-maven"
            podTemplateName "fabric8-maven"
          }
        }
      ...
      }

       

      I've a PR on its way to enable this...

            csanchez Carlos Sanchez
            jstrachan James Strachan
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: