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:
- <
jenkinsfile的使用
最新推荐文章于 2024-04-19 11:12:48 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)