Update Jenkinsfile

This commit is contained in:
2026-05-22 23:54:45 +09:00
parent 8c655724c8
commit 58319f620f

8
Jenkinsfile vendored
View File

@@ -11,7 +11,7 @@ pipeline {
// 앱 정보
APP_NAME = 'gcone_batch'
TOMCAT_HOME = '/usr/local/tomcat'
TOMCAT_HOME = '/usr/local/tomcat_dev'
DEPLOY_PATH = "${TOMCAT_HOME}/webapps"
BACKUP_PATH = "${TOMCAT_HOME}/backup"
DEPLOY_FILE = "${TOMCAT_HOME}/webapps/${APP_NAME}.war"
@@ -24,7 +24,7 @@ pipeline {
stages {
stage('Checkout') {
steps {
git branch: 'master',
git branch: 'dev',
credentialsId: 'itfirst',
url: 'http://115.68.207.90:3000/itfirst/sake_batch.git'
}
@@ -90,7 +90,7 @@ pipeline {
post {
success {
echo '✅ sake_batch 배포 완료'
echo '✅ sake_batch 개발 배포 완료'
}
failure {
script {
@@ -112,7 +112,7 @@ pipeline {
fi
"""
}
echo '❌ 배포 실패 - 롤백 처리됨'
echo '❌ 게빌 배포 실패 - 롤백 처리됨'
}
}
}