diff --git a/code/pep-stats-report/jenkinsfile b/jenkinsfile_pep_stats_report similarity index 79% rename from code/pep-stats-report/jenkinsfile rename to jenkinsfile_pep_stats_report index 2b3cf99..f7aa2f8 100644 --- a/code/pep-stats-report/jenkinsfile +++ b/jenkinsfile_pep_stats_report @@ -1,7 +1,7 @@ podTemplate { node('pod-templ-jenkins-slave-common') { - env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${pep}/${JOB_NAME}" - env.IMAGE_NAME_SHORT = "${pep}/${JOB_NAME}" + env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${PEP}/${JOB_NAME}" + env.IMAGE_NAME_SHORT = "${PEP}/${JOB_NAME}" env.CODE_ADDR = "${GIT_ADDRESS}/free-sun/FS-PEP.git" stage('Run shell') { @@ -9,7 +9,7 @@ podTemplate { container('image-builder') { sh''' - /kaniko/executor --context=${BUILD_WORKSPACE} --dockerfile=./Dockerfile + /kaniko/executor --context=${BUILD_WORKSPACE} --dockerfile=./code/pep-stats-report/Dockerfile --destination=${IMAGE_NAME}:${IMAGE_VERSION} --cache=false --cleanup ''' }