testing kubernetes without kubeconfig
This commit is contained in:
parent
328643bdf9
commit
06d69ca388
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue