From eddaf5e3687961afb9eb7f004e8370a30166b7bc Mon Sep 17 00:00:00 2001 From: SEAN Date: Mon, 19 Jan 2026 12:53:02 +0900 Subject: [PATCH 1/3] chore/changed-jenkinsfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 젠킨스 파일 변경 2. 패키지 설치 --- Jenkinsfile | 9 +++++++++ SPMS_API/SPMS_API.csproj | 7 +++++++ SPMS_API/appsettings.Development.json | 20 +++++++++++++++++++- SPMS_API/appsettings.json | 20 ++++++++++++++++++-- 4 files changed, 53 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 78888a9..d6afbc5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,6 +24,15 @@ pipeline { } else { error "This branch(${branchName}) can't set container (USE develop or main branch)" } + else if (branchName == 'staging') { + TARGET_BUILD_CONTAINER = 'spms-back-build-staging' + TARGET_RUN_CONTAINER = 'spms-run-staging' + echo "[STG Mode] SET STAGING Container" + + } + else { + error "This branch(${branchName}) can't set container (USE develop or main, staging branch)" + } } } } diff --git a/SPMS_API/SPMS_API.csproj b/SPMS_API/SPMS_API.csproj index a570f2f..293a72a 100644 --- a/SPMS_API/SPMS_API.csproj +++ b/SPMS_API/SPMS_API.csproj @@ -4,9 +4,11 @@ net9.0 enable enable + 1b3e01bb-60ac-40bc-9abf-5cf3a7e35ba2 + @@ -15,6 +17,11 @@ + + + + + diff --git a/SPMS_API/appsettings.Development.json b/SPMS_API/appsettings.Development.json index 0c208ae..46f97e8 100644 --- a/SPMS_API/appsettings.Development.json +++ b/SPMS_API/appsettings.Development.json @@ -4,5 +4,23 @@ "Default": "Information", "Microsoft.AspNetCore": "Warning" } + }, + "AllowedHosts": "*", + "ConnectionStrings": { + "DefaultConnection": "" + }, + "JwtSettings": { + "SecretKey": "", + "Issuer": "SPMS", + "Audience": "SPMS", + "ExpiryMinutes": 10, + "RefreshTokenExpiryDays": 7 + }, + "RabbitMQ": { + "HostName": "", + "Port": 0, + "UserName": "", + "Password": "", + "VirtualHost": "dev" } -} +} \ No newline at end of file diff --git a/SPMS_API/appsettings.json b/SPMS_API/appsettings.json index 10f68b8..cffd873 100644 --- a/SPMS_API/appsettings.json +++ b/SPMS_API/appsettings.json @@ -5,5 +5,21 @@ "Microsoft.AspNetCore": "Warning" } }, - "AllowedHosts": "*" -} + "AllowedHosts": "*", + "ConnectionStrings": { + "DefaultConnection": "" + }, + "JwtSettings": { + "SecretKey": "", + "Issuer": "SPMS", + "Audience": "SPMS", + "ExpiryMinutes": 10 + }, + "RabbitMQ": { + "HostName": "", + "Port": 0, + "UserName": "", + "Password": "", + "VirtualHost": "/" + } +} \ No newline at end of file -- 2.45.1 From 5f9b6485570688e3dc88022079363b688c6cf35c Mon Sep 17 00:00:00 2001 From: SEAN Date: Mon, 19 Jan 2026 13:00:15 +0900 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20Jenkinsfile=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20(#2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d6afbc5..dea6af9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { } else { error "This branch(${branchName}) can't set container (USE develop or main branch)" } - else if (branchName == 'staging') { + else if (branchName.startsWith('hotfix/') || branchName.startsWith('release/')) { TARGET_BUILD_CONTAINER = 'spms-back-build-staging' TARGET_RUN_CONTAINER = 'spms-run-staging' echo "[STG Mode] SET STAGING Container" -- 2.45.1 From d7b9ed032d8d2ee0321413c37a6ade07daaa2162 Mon Sep 17 00:00:00 2001 From: SEAN Date: Mon, 19 Jan 2026 13:00:15 +0900 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20Jenkinsfile=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20(#2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d6afbc5..7b49634 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,10 +21,8 @@ pipeline { TARGET_BUILD_CONTAINER = 'spms-back-build-release' TARGET_RUN_CONTAINER = 'spms-run-release' echo ">>> [PROD Mode] SET Release Container" - } else { - error "This branch(${branchName}) can't set container (USE develop or main branch)" } - else if (branchName == 'staging') { + else if (branchName.startsWith('hotfix/') || branchName.startsWith('release/')) { TARGET_BUILD_CONTAINER = 'spms-back-build-staging' TARGET_RUN_CONTAINER = 'spms-run-staging' echo "[STG Mode] SET STAGING Container" -- 2.45.1