Hi,
I was trying the kubernetes plugin. I installed and configured the kubernetes setup connection test was successfull.
and tried the below code.
def label = "mypod-${UUID.randomUUID().toString()}"echo "Label:" + labelpodTemplate(label: label) { node(label) { stage('Run shell') { sh 'echo hello world' } }}
But still, i do get this error.
[Pipeline] podTemplate
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: Cloud does not exist: kubernetes
Finished: FAILURE
even if i give cloud variable as something still it says cloud does not exist