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

Podtemplate not taking cloud parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • kubernetes-plugin
    • None
    • Jenkins 2.289.3

      With scripted pipelines I have multiple cloud (Kubernetes) configured and it randomly use one or the other even if the cloud is set in the podtemplate. 

      podTemplate(inheritFrom: 'selenium-slave',cloud: 'cloudEks') {
       node('selenium-slave')
        { ... }
      }
      

      Am I doing anything wrong here ? With declarative pipelines, it works fine.

            Unassigned Unassigned
            raphperrin Raphael
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: