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 : String
(optional)
Leaving this field empty will skip the certificate verification.
clusterName : String
(optional)
contextName : String
(optional)
credentialsId : String
(optional)
namespace : String
(optional)
restrictKubeConfigAccess : boolean
(optional)
serverUrl : String
(optional)
withKubeCredentials
: Configure Kubernetes CLI (kubectl) with multiple credentialskubectlCredentials
(optional)
caCertificate : String
(optional)
clusterName : String
(optional)
contextName : String
(optional)
credentialsId : String
(optional)
namespace : String
(optional)
serverUrl : String
(optional)
wrap([$class: 'MultiKubectlBuildWrapper'])
: Configure Kubernetes CLI (kubectl) with multiple credentialskubectlCredentials
(optional)
caCertificate : String
(optional)
clusterName : String
(optional)
contextName : String
(optional)
credentialsId : String
(optional)
namespace : String
(optional)
serverUrl : String
(optional)
restrictKubeConfigAccess : boolean
(optional)
wrap([$class: 'KubectlBuildWrapper'])
: Configure Kubernetes CLI (kubectl) (deprecated, use the multi credentials one instead)caCertificate : String
(optional)
Leaving this field empty will skip the certificate verification.
clusterName : String
(optional)
contextName : String
(optional)
credentialsId : String
(optional)
namespace : String
(optional)
restrictKubeConfigAccess : boolean
(optional)
serverUrl : String
(optional)
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.