Allows you to configure kubectl in your job to interact with Kubernetes clusters. Any tool built on top of kubectl
can then be used from your pipelines or freestyle projects to perform deployments or run arbitrary commands (e.g. kubernetes-deploy).
node { stage('Apply Kubernetes files') { withKubeConfig([credentialsId: 'user1', serverUrl: 'https://api.k8s.my-company.com']) { sh 'kubectl apply -f my-kubernetes-directory/' } } }
This wiki returns 500 Internal Error most of the time when editing the page. Come have a look at the full README and CHANGELOG on GitHub
Support request
Please do not use the comment section for support questions but fill a JIRA ticket instead. Comments should only be related to the content of this page.