Skip to content

Commit

Permalink
[#254] fix(Jenkinsfile): sshPut 경로 큰따옴표로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonyworld committed Nov 22, 2024
1 parent 892d4e1 commit 37ee358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pipeline {
sshCommand remote: remote, command: "docker pull ${DOCKER_HUB_ID}/${PROJECT_NAME}-${OPERATION_ENV}:latest"

// Jenkins 서버에서 원격 서버로 파일 복사
sshPut remote: remote, from: '/home/ubuntu/deployment/deploy-${OPERATION_ENV}.sh', into: '/home/ubuntu/deployment'
sshPut remote: remote, from: "/home/ubuntu/deployment/deploy-${OPERATION_ENV}.sh", into: "/home/ubuntu/deployment"
sshPut remote: remote, from: '/home/ubuntu/nginx.conf', into: '/home/ubuntu'

// 환경변수를 넘기고 deploy-${OPERATION_ENV}.sh 실행
Expand Down

0 comments on commit 37ee358

Please sign in to comment.