From eddaf5e3687961afb9eb7f004e8370a30166b7bc Mon Sep 17 00:00:00 2001 From: SEAN Date: Mon, 19 Jan 2026 12:53:02 +0900 Subject: [PATCH] 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