젠킨스파일 수정중
This commit is contained in:
parent
8dde101ff4
commit
77b9800ccc
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -8,7 +8,10 @@ pipeline {
|
||||
stages {
|
||||
stage('Build & Deploy') {
|
||||
steps {
|
||||
echo '🔄 기존 컨테이너 중지 중...'
|
||||
sh 'docker compose down'
|
||||
|
||||
echo '🚀 새 이미지 빌드 및 컨테이너 실행 중...'
|
||||
sh 'docker compose up -d --build'
|
||||
}
|
||||
}
|
||||
@ -22,4 +25,4 @@ pipeline {
|
||||
echo '✅ 배포 성공!'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user