Commit ecce7a7d authored by lusyoe's avatar lusyoe

修复部署yaml文件缺少后缀问题

parent c2fcd4ca
......@@ -62,7 +62,7 @@ podTemplate(label: label, cloud: 'kubernetes', containers: [
stage('kube deploy') {
sh "sed -i \"s/k2\\/spring-music/${params.REGISTRY_URL}\\/library\\/spring-music:${version}-${env.BUILD_ID}/g\" spring-music.yaml"
sh "kubectl apply -f spring-music --record"
sh "kubectl apply -f spring-music.yaml --record"
}
}
......
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