mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2026-06-12 19:49:10 +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:
Vendored
-1
@@ -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 -
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user