From 0994ea7bdd5379ec125fc5fcaca4080644806dc1 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Sat, 30 Jul 2022 16:35:20 +0800 Subject: [PATCH] jenkinsfile --- jenkinsfile_script_init_report_pic_data | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 jenkinsfile_script_init_report_pic_data diff --git a/jenkinsfile_script_init_report_pic_data b/jenkinsfile_script_init_report_pic_data new file mode 100644 index 00000000..340871e8 --- /dev/null +++ b/jenkinsfile_script_init_report_pic_data @@ -0,0 +1,19 @@ +pipeline { + agent { + node{ + label 'jnlp-slave' + } + } + + stages { + stage('Highways4Good Api ......') { + steps { + sh 'switch-auth.sh anxinyun' + buildName "#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}" + buildDescription "registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}" + sh 'docker build -t registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} ./scripts/0.0.1/data/3_init_report_pic_data' + sh 'docker push registry.cn-hangzhou.aliyuncs.com/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}' + } + } + } +} \ No newline at end of file