testing kubernetes without kubeconfig

This commit is contained in:
areeqakbr 2025-02-26 09:01:54 +07:00
parent 328643bdf9
commit 06d69ca388
1 changed files with 5 additions and 7 deletions

2
Jenkinsfile vendored
View File

@ -84,7 +84,6 @@ spec:
stage('Debug Kubernetes') {
steps {
container('kubectl') {
withKubeConfig([credentialsId: '1c8bd8d9-1590-468c-afc7-24495d4330dc']) {
sh '''
kubectl cluster-info
kubectl get nodes
@ -93,7 +92,6 @@ spec:
}
}
}
}
stage('Deploy to Kubernetes') {