Skip to content

Commit

Permalink
hotfix: 젠킨스 파이프라인 버그를 수정한다.
Browse files Browse the repository at this point in the history
hotfix: 젠킨스 파이프라인 버그를 수정한다.
  • Loading branch information
cjlee38 authored Oct 21, 2022
2 parents 699e18d + fd8b2cd commit 419f1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/jenkinsfile-prd
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ node {
NEXT=${NEXT_PORT_LIST[index-1]}
IP=${IP_LIST[index-1]}

scp -i /var/lib/jenkins/key-morak.pem ./*.jar ubuntu@"${IP}":/home/ubuntu/deploy 1>/dev/null 2>/dev/null
scp -i /var/lib/jenkins/key-morak.pem ./backend/build/libs/*.jar ubuntu@"${IP}":/home/ubuntu/deploy 1>/dev/null 2>/dev/null
ssh -i /var/lib/jenkins/key-morak.pem ubuntu@"${IP}" "sh /home/ubuntu/deploy/start_service.sh ${NEXT} 1>/dev/null 2>/dev/null"
done

Expand Down

0 comments on commit 419f1e3

Please sign in to comment.