mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 08:06:24 +00:00
Jenkinsfile에서 불필요한 context 스위치 제거
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
f12fed5de9
commit
aac5710766
1
deployment/cicd/Jenkinsfile
vendored
1
deployment/cicd/Jenkinsfile
vendored
@ -82,7 +82,6 @@ podTemplate(
|
|||||||
stage("Setup Kubernetes") {
|
stage("Setup Kubernetes") {
|
||||||
container('kubectl') {
|
container('kubectl') {
|
||||||
sh """
|
sh """
|
||||||
kubectl config use-context ${props.k8s_context} || echo "Context switch skipped"
|
|
||||||
kubectl create namespace ${props.namespace} --dry-run=client -o yaml | kubectl apply -f -
|
kubectl create namespace ${props.namespace} --dry-run=client -o yaml | kubectl apply -f -
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user