Commit 478a6c12 by tingweiwang

fix bug

1 parent f425e13d
Showing with 3 additions and 2 deletions
def label = "mypod-${UUID.randomUUID().toString()}" def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(label: label, cloud: 'kubernetes') { podTemplate(label: label, cloud: 'kubernetes') {
node('$DEPLOY_ENV-pod-template') { node('private-pod-template') {
stage('Clone') { stage('Clone') {
echo "开始下载autodl项目代码" echo "开始下载autodl项目代码"
git url: "https://tingweiwang@gitlab.seetatech.com/tingweiwang/ksyun-CICD-test.git" git url: "https://tingweiwang@gitlab.seetatech.com/tingweiwang/ksyun-CICD-test.git"
...@@ -8,7 +8,8 @@ node('$DEPLOY_ENV-pod-template') { ...@@ -8,7 +8,8 @@ node('$DEPLOY_ENV-pod-template') {
stage('go test') { stage('go test') {
sh "go version" sh "go version"
} }
stage('') { stage('test var') {
sh "echo $WORKSPACE"
} }
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!