Commit 312500b7 authored by 卢浩元's avatar 卢浩元

Update Jenkinsfile 镜像地址更新

parent 8685c6f1
......@@ -14,10 +14,10 @@ properties(projectProperties)
def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(label: label, cloud: 'kubernetes', containers: [
containerTemplate(name: 'maven', image: 'harbor.k2software.com.cn/build/maven:3.6.0-jdk-8', command: 'cat', ttyEnabled: true),
containerTemplate(name: 'docker', image: 'harbor.k2software.com.cn/build/docker:latest', ttyEnabled: true),
containerTemplate(name: 'kubectl', image: 'harbor.k2software.com.cn/build/k8s-kubectl:v1.14.0', command: 'cat', ttyEnabled: true),
containerTemplate(name: 'docker-slim', image: 'harbor.k2software.com.cn/build/docker-slim:latest', command: 'cat', ttyEnabled: true)
containerTemplate(name: 'maven', image: 'harbor.k2software.cn/build/maven:3.6.0-jdk-8', command: 'cat', ttyEnabled: true),
containerTemplate(name: 'docker', image: 'harbor.k2software.cn/build/docker:latest', ttyEnabled: true),
containerTemplate(name: 'kubectl', image: 'harbor.k2software.cn/build/k8s-kubectl:v1.14.0', command: 'cat', ttyEnabled: true),
containerTemplate(name: 'docker-slim', image: 'harbor.k2software.cn/build/docker-slim:latest', command: 'cat', ttyEnabled: true)
],
volumes: [
hostPathVolume(hostPath: '/var/run/docker.sock', mountPath: '/var/run/docker.sock'),
......
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