|
@ -4,10 +4,10 @@ podTemplate { |
|
|
env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${IOT}/${JOB_NAME}" |
|
|
env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${IOT}/${JOB_NAME}" |
|
|
env.IMAGE_NAME_SHORT = "${IOT}/${JOB_NAME}" |
|
|
env.IMAGE_NAME_SHORT = "${IOT}/${JOB_NAME}" |
|
|
env.CODE_ADDR = "${GIT_ADDRESS}/free-sun/Highways4Good.git" |
|
|
env.CODE_ADDR = "${GIT_ADDRESS}/free-sun/Highways4Good.git" |
|
|
|
|
|
|
|
|
stage('Run shell') { |
|
|
stage('Run shell') { |
|
|
git branch: 'dev', credentialsId: 'gitea-builder', url: "${CODE_ADDR}" |
|
|
git branch: 'dev', credentialsId: 'gitea-builder', url: "${CODE_ADDR}" |
|
|
|
|
|
|
|
|
container('image-builder') { |
|
|
container('image-builder') { |
|
|
sh''' |
|
|
sh''' |
|
|
pwd |
|
|
pwd |
|
|