From f6568cc8fcb87116144e0904b23988129c372f1b Mon Sep 17 00:00:00 2001 From: Insub Kim Date: Thu, 5 Jun 2025 07:37:33 +0000 Subject: [PATCH] fix --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d026ec6..8b2e11b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,7 +57,7 @@ pipeline { sshagent([env.JENKINS_SSH_CREDENTIAL_ID]) { script { // 현재 Nginx가 바라보고 있는 포트를 배포 서버에서 가져옴 - def nginxConfPath = "/etc/nginx/conf.d/svelte_app_upstream.conf" // Nginx 설정 파일 경로 + def nginxConfPath = "/etc/nginx/sites-available/frovide.conf" // Nginx 설정 파일 경로 def currentActivePortOutput = sh(script: "ssh ${env.DEPLOY_USER}@${env.DEPLOY_HOST} 'grep -oP \"server 127.0.0.1:\\\\K[0-9]+\" ${nginxConfPath} | head -n 1'", returnStdout: true).trim() if (currentActivePortOutput == "") {