From 2d3689afbbc94ac91b73d04ccd92ed7632bf05a0 Mon Sep 17 00:00:00 2001 From: wenlele Date: Tue, 17 Jan 2023 11:32:39 +0800 Subject: [PATCH] Jenkinsfilie --- api/log/development.log | 10 ++++++++++ jenkinsfile_api | 2 +- jenkinsfile_web | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/api/log/development.log b/api/log/development.log index 5afd42b..46f17c3 100644 --- a/api/log/development.log +++ b/api/log/development.log @@ -3855,3 +3855,13 @@ notNull Violation: project.describe cannot be null 2023-01-17 09:26:37.752 - debug: [FS-LOGGER] Init. 2023-01-17 09:26:38.022 - info: [FS-ATTACHMENT] Inject attachment mw into router. 2023-01-17 09:26:38.023 - info: [FS-AUTH] Inject auth and api mv into router. +2023-01-17 10:57:37.126 - error: path: /projectList, error: TypeError: Cannot set property 'name' of undefined +2023-01-17 10:58:25.341 - error: path: /projectList, error: TypeError: Cannot set property 'name' of undefined +2023-01-17 10:58:51.005 - error: path: /projectList, error: TypeError: Cannot set property 'name' of undefined +2023-01-17 10:59:00.752 - error: path: /projectList, error: TypeError: Cannot set property 'name' of undefined +2023-01-17 10:59:06.553 - error: path: /projectList, error: TypeError: Cannot set property 'name' of undefined +2023-01-17 10:59:10.971 - error: path: /projectList, error: TypeError: Cannot set property 'name' of undefined +2023-01-17 10:59:45.469 - error: path: /projectList, error: TypeError: Cannot set property 'name' of undefined +2023-01-17 11:00:49.835 - debug: [FS-LOGGER] Init. +2023-01-17 11:00:50.799 - info: [FS-ATTACHMENT] Inject attachment mw into router. +2023-01-17 11:00:50.799 - info: [FS-AUTH] Inject auth and api mv into router. diff --git a/jenkinsfile_api b/jenkinsfile_api index ed3c838..ef6c939 100644 --- a/jenkinsfile_api +++ b/jenkinsfile_api @@ -10,7 +10,7 @@ pipeline { steps { buildName "#${BUILD_NUMBER} ~/smartcity/${JOB_NAME}:${IMAGE_VERSION}" buildDescription "harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}" - sh 'nerdctl build -t harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./' + sh 'nerdctl build -t harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./api' sh 'nerdctl push harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}' } } diff --git a/jenkinsfile_web b/jenkinsfile_web index c0da2a1..8840491 100644 --- a/jenkinsfile_web +++ b/jenkinsfile_web @@ -10,7 +10,7 @@ pipeline { steps { buildName "#${BUILD_NUMBER} ~/smartcity/${JOB_NAME}:${IMAGE_VERSION}" buildDescription "harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}" - sh 'nerdctl build -t harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./' + sh 'nerdctl build -t harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./web' sh 'nerdctl push harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}' } }