Commit f425e13d by tingweiwang

fix

1 parent a39404f9
Showing with 3 additions and 9 deletions
def label = "mypod-${UUID.randomUUID().toString()}" def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(label: label, cloud: 'kubernetes') { podTemplate(label: label, cloud: 'kubernetes') {
node('go-pod-template') { node('$DEPLOY_ENV-pod-template') {
stage('Clone') { stage('Clone') {
echo "开始下载autodl项目代码" echo "开始下载autodl项目代码"
git url: "https://tingweiwang@gitlab.seetatech.com/tingweiwang/jenkins-slave-test.git" git url: "https://tingweiwang@gitlab.seetatech.com/tingweiwang/ksyun-CICD-test.git"
git credentialsId: '52ec3b82-77e2-4230-93a8-0b9e6381d8d2' } git credentialsId: '52ec3b82-77e2-4230-93a8-0b9e6381d8d2' }
stage('go test') { stage('go test') {
sh "go version" sh "go version"
} }
stage('docker test') { stage('') {
sh "docker ps"
}
stage('测试切换36集群') {
sh "ls -la /root/.kube/config"
sh "sleep 1000000"
sh "make redeploy_all mode=dev"
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!