Browse Source

update 重构 jenkinsfile 不再使用环境变量定义 git地址 ->避免改来改去

pull/2/head
lucas 2 weeks ago
parent
commit
e7cb98f992
  1. 2
      build/jenkinsfile

2
build/jenkinsfile

@ -3,7 +3,7 @@ podTemplate {
env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${LOCAL}/${JOB_NAME}"
env.IMAGE_NAME_SHORT = "${LOCAL}/${JOB_NAME}"
env.CODE_ADDR = "${GIT_ADDRESS}/DevOps/goUpload.git"
env.CODE_ADDR = "https://gitea.anxinyun.cn/lucas2/goInOut.git"
stage('Run shell') {
git branch: 'develop', credentialsId: 'gitea-builder', url: "${CODE_ADDR}"

Loading…
Cancel
Save