Commit 6b510f34 authored by 卢浩元's avatar 卢浩元

Update Jenkinsfile 调整docker文件为pks环境路径

parent 74f3db95
......@@ -20,7 +20,7 @@ podTemplate(label: label, cloud: 'kubernetes', containers: [
containerTemplate(name: 'deploy', image: 'harbor.k2software.com.cn/build/k8s-kubectl:v1.10.11', command: 'cat', ttyEnabled: true),
],
volumes: [
hostPathVolume(hostPath: '/var/run/docker.sock', mountPath: '/var/run/docker.sock'),
hostPathVolume(hostPath: '/var/vcap/sys/run/docker/docker.sock', mountPath: '/var/run/docker.sock'),
configMapVolume(mountPath: '/root/.kube', configMapName: 'kubeconfig')
]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment