podTemplate(cloud: 'kubernetes', yaml: """
apiVersion: v1
kind: Pod
spec:
containers:
- name: jnlp
image: 'ops-reg.xxxx.com/ops/rancher/jenkins-jnlp-slave:3.10-1-alpine'
args: ['\$(JENKINS_SECRET)', '\$(JENKINS_NAME)']
- name: docker-test
image: ops-reg.xxxx.com/ops/docker:dind
command: ['cat']
tty: true
env:
- <
版权声明:本文为triThirty原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。