diff --git a/jenkinsfilenew_web b/jenkinsfilenew_web index 0fc6880..62c1974 100644 --- a/jenkinsfilenew_web +++ b/jenkinsfilenew_web @@ -3,10 +3,10 @@ podTemplate { env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${IOT}/${JOB_NAME}" env.IMAGE_NAME_SHORT = "${IOT}/${JOB_NAME}" - env.GIT_Add = "${GIT_ADDRESS}/free-sun/OperationalService/src/branch/dev/web" + env.CODE_ADDR = "${GIT_ADDRESS}/free-sun/OperationalService.git" stage('Run shell') { - git credentialsId: 'gitea-builder', url: 'https://gitea.anxinyun.cn/free-sun/OperationalService.git' + git branch: 'dev', credentialsId: 'gitea-builder', url: "${CODE_ADDR}" container('image-builder') { sh'''