Easier setup of Windows pods

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

XMLWordPrintable

      Rather than having to specify

      podTemplate(yaml: '''
      apiVersion: v1
      kind: Pod
      spec:
        containers:
        - name: jnlp
          image: jenkins/jnlp-agent:latest-windows
        nodeSelector:
          beta.kubernetes.io/os: windows
      ''') {...}
      

      you ought to be able to say just

      podTemplate(windows: true) {...}
      

      with the nodeSelector and alternate image selected automatically.

            Assignee:
            Unassigned
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: