The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
withKubeConfig
: Configure Kubernetes CLI (kubectl)withKubeCredentials
: Configure Kubernetes CLI (kubectl) with multiple credentialswrap([$class: 'MultiKubectlBuildWrapper'])
: Configure Kubernetes CLI (kubectl) with multiple credentialswrap([$class: 'KubectlBuildWrapper'])
: Configure Kubernetes CLI (kubectl) (deprecated, use the multi credentials one instead)withKubeConfig
: Configure Kubernetes CLI (kubectl)caCertificate
(optional)
Leaving this field empty will skip the certificate verification.
String
clusterName
(optional)
String
contextName
(optional)
String
credentialsId
(optional)
String
namespace
(optional)
String
serverUrl
(optional)
String
withKubeCredentials
: Configure Kubernetes CLI (kubectl) with multiple credentialskubectlCredentials
(optional)
caCertificate
(optional)
String
clusterName
(optional)
String
contextName
(optional)
String
credentialsId
(optional)
String
namespace
(optional)
String
serverUrl
(optional)
String
wrap([$class: 'MultiKubectlBuildWrapper'])
: Configure Kubernetes CLI (kubectl) with multiple credentialskubectlCredentials
(optional)
caCertificate
(optional)
String
clusterName
(optional)
String
contextName
(optional)
String
credentialsId
(optional)
String
namespace
(optional)
String
serverUrl
(optional)
String
wrap([$class: 'KubectlBuildWrapper'])
: Configure Kubernetes CLI (kubectl) (deprecated, use the multi credentials one instead)caCertificate
(optional)
Leaving this field empty will skip the certificate verification.
String
clusterName
(optional)
String
contextName
(optional)
String
credentialsId
(optional)
String
namespace
(optional)
String
serverUrl
(optional)
String
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.