공지사항 메뉴 수정
This commit is contained in:
Vendored
+8
-1
@@ -4,6 +4,11 @@ pipeline {
|
||||
choice(name: 'SERVICE_NAME', choices: ['all', 'frontend', 'backend', 'docker-only'], description: '배포 대상')
|
||||
booleanParam(name: 'DEPLOY_APPROVED', defaultValue: true, description: '배포 승인')
|
||||
}
|
||||
environment {
|
||||
GIT_DIR = '/Volumes/ADATA/git/BizCare.git'
|
||||
WORK_TREE = '/Users/aidev/apps/BizCare'
|
||||
PATH = "/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:${env.PATH}"
|
||||
}
|
||||
stages {
|
||||
stage('Approve') {
|
||||
steps {
|
||||
@@ -18,9 +23,11 @@ pipeline {
|
||||
steps {
|
||||
sh '''
|
||||
set -euo pipefail
|
||||
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:$PATH"
|
||||
echo "=== BizCare Jenkins Build #${BUILD_NUMBER} ==="
|
||||
echo "시각: $(date)"
|
||||
echo "GIT_DIR=${GIT_DIR}"
|
||||
echo "WORK_TREE=${WORK_TREE}"
|
||||
export GIT_DIR WORK_TREE
|
||||
SERVICE_NAME=${SERVICE_NAME} /Volumes/ADATA/git/deploy-bizcare.sh
|
||||
'''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user