jenkins k8s云 jenkinsfile配置,运行构建时jenkins console输出一直停留在‘Jenkins’ doesn’t have label ‘xxxx’阶段问题解决。
podTemplate(cloud:'kubernetes',yaml:"""apiVersion:v1kind:Podspec:containers:-name:jnlpimage:'ops-reg.xxx.com/ops/rancher/jenkins-jnlp-slave:3.10-1-alpine'args:['\$(JENKINS_SECRET)','\$(JENKINS_NAME)']