Jenkinsfile에 Setup Kubernetes2 스테이지 추가

- namespace 생성 스테이지 복원

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ondal 2025-12-01 14:29:20 +09:00
parent 696f9a4fc6
commit 698c146393

View File

@ -76,6 +76,14 @@ podTemplate(
props = readProperties file: "deployment/cicd/config/deploy_env_vars_${environment}"
}
stage("Setup Kubernetes2") {
container('kubectl') {
sh """
kubectl create namespace ${props.namespace} --dry-run=client -o yaml | kubectl apply -f -
"""
}
}
stage('Build') {
container('gradle') {
sh """