This commit is contained in:
parent
f6568cc8fc
commit
a00e8e23db
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -54,7 +54,9 @@ pipeline {
|
|||||||
|
|
||||||
stage('Determine Active Port') {
|
stage('Determine Active Port') {
|
||||||
steps {
|
steps {
|
||||||
|
echo "before sshagent"
|
||||||
sshagent([env.JENKINS_SSH_CREDENTIAL_ID]) {
|
sshagent([env.JENKINS_SSH_CREDENTIAL_ID]) {
|
||||||
|
echo "after sshagent"
|
||||||
script {
|
script {
|
||||||
// 현재 Nginx가 바라보고 있는 포트를 배포 서버에서 가져옴
|
// 현재 Nginx가 바라보고 있는 포트를 배포 서버에서 가져옴
|
||||||
def nginxConfPath = "/etc/nginx/sites-available/frovide.conf" // Nginx 설정 파일 경로
|
def nginxConfPath = "/etc/nginx/sites-available/frovide.conf" // Nginx 설정 파일 경로
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user