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