Wrong cloud node configuration selected while using inherit from

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Context:

      • Jenkins master is running in Kubernetes cluster and deploy through Helm chart.
      • A node Cloud configuration is added by default (name: `kubernetes`) with a `k8s-agent` pod template.
      • An external Kubernetes is added to node Cloud configuration (name: `specific`) with a `k8s-specific` pod template.

      When running pipelines:

      pipeline {
          agent {
              kubernetes {
                  inheritFrom 'k8s-agent'
              }
          }
          
          stages {
              stage('Main') {
                  steps {
                      echo 'Bonjour'
                  }
              }
          }
      }

      Pod is provisionned on `specific` Kubernetes cluster instead of `kubernetes` one)

            Assignee:
            Unassigned
            Reporter:
            Logan Mzz
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: