We wanted to get the vm's list google cloud k8s cluster from my-bloody-jenkins using a groovy script which we wanted to run as active choice parameter. So we wanted to have gcloud cli available on the master node.
We tried to run using "docker run -it gcr.io/google.com/cloudsdktool/cloud-sdk:slim gcloud command". But we came to know that even docker client is not installed. Could you please help ?
Hey @r15santro.
I want to keep the master clean as possible.
I think the best option for you is to extend the image using FROM odavid/my-bloody-jenkins and use the custom one.
We wanted to get the vm's list google cloud k8s cluster from my-bloody-jenkins using a groovy script which we wanted to run as active choice parameter. So we wanted to have gcloud cli available on the master node. We tried to run using "docker run -it gcr.io/google.com/cloudsdktool/cloud-sdk:slim gcloud command". But we came to know that even docker client is not installed. Could you please help ?