Browse Source

update jenkinsfile

pull/1/head
lucas 2 weeks ago
parent
commit
0da55d9f35
  1. 6
      build/jenkinsfile_image

6
build/jenkinsfile_image

@ -3,12 +3,12 @@ podTemplate {
env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${LOCAL}/${JOB_NAME}" env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${LOCAL}/${JOB_NAME}"
env.IMAGE_NAME_SHORT = "${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/goUpload.git"
stage('Run shell') { stage('Run shell') {
git branch: 'develop', credentialsId: 'gitea-builder', url: "${CODE_ADDR}" git branch: 'dev', credentialsId: 'gitea-builder', url: "${CODE_ADDR}"
container('image-builder') { container('golang-builder-1-23') {
sh''' sh'''
echo "当前目===" echo "当前目==="
pwd pwd

Loading…
Cancel
Save