chlchzjalt

This commit is contained in:
biryu2000 2025-05-25 00:49:20 +09:00
parent accf0ebc4b
commit de370a581d

31
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,31 @@
pipeline {
agent any
environment {
COMPOSE_FILE = 'docker-compose.yml'
}
stages {
stage('Checkout') {
steps {
git url: 'https://gitea.biryu2000.kr/nightbug/sukjenogi-backend.git', branch: 'main'
}
}
stage('Build & Deploy') {
steps {
sh 'docker compose down'
sh 'docker compose up -d --build'
}
}
}
post {
failure {
echo '❌ 배포 실패!'
}
success {
echo '✅ 배포 성공!'
}
}
}