dev temp set urk
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-03-07 02:18:56 +07:00
parent 60857d4077
commit 94061381c7
5 changed files with 35 additions and 25 deletions
+3 -4
View File
@@ -78,8 +78,7 @@ pipeline {
steps {
script {
def buildTime = sh(script: "TZ='Asia/Novosibirsk' date '+%d-%m-%Y %H:%M:%S'", returnStdout: true).trim()
def baseUrl = params.SPRING_PROFILE == 'prod' ? 'https://workspace.not-copy.com' :
'https://dev-workspace.not-copy.com'
def springProfile = params.SPRING_PROFILE
withCredentials([
usernamePassword(
credentialsId: 'server-root-password',
@@ -161,8 +160,8 @@ pipeline {
-e POSTGRES_PASSWORD=${DB_PASSWORD} \\
-e POSTGRES_PORT=5432 \\
-e POSTGRES_HOST=no_copy_${params.PORT} \\
-e FILE_STORAGE_PATH=/data/uploads \\
-e BASE_URL=${baseUrl} \\
-e FILE_STORAGE_PATH=/data/uploads \\
-e SPRING_PROFILES_ACTIVE=${springProfile} \\
app-backend-${params.PORT}:latest
echo '8. Проверка...'