-
Bug
-
Resolution: Unresolved
-
Critical
-
Kubernetes version (use kubectl version):
-Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"clean", BuildDate:"2021-02-18T16:12:00Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.6", GitCommit:"8a62859e515889f07e3e3be6a1080413f17cf2c3", GitTreeState:"clean", BuildDate:"2021-04-15T03:19:55Z", GoVersion:"go1.15.10", Compiler:"gc", Platform:"linux/amd64"}
Jenkins 2.263.4
Kubernetes Plugin: 1.30.0
Java Version: 1.8.0_151
Jenkins is deployed using a kubernetesKubernetes version (use kubectl version): -Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"clean", BuildDate:"2021-02-18T16:12:00Z", GoVersion:"go1.15.8", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.6", GitCommit:"8a62859e515889f07e3e3be6a1080413f17cf2c3", GitTreeState:"clean", BuildDate:"2021-04-15T03:19:55Z", GoVersion:"go1.15.10", Compiler:"gc", Platform:"linux/amd64"} Jenkins 2.263.4 Kubernetes Plugin: 1.30.0 Java Version: 1.8.0_151 Jenkins is deployed using a kubernetes
Hi all,
we are executing our pipeline script on slave pod, which has some groovy libraries.
def process = ['bash', '-c', cmd].execute()
def file= new File( "test.txt" )
even though the scripts are executed from slave pod, the groovy libraries seems to be working only in our master pod.
Is there any plugin which takes care of groovy execution in kubernetes slave pod. If now, then why the groovy script libraries are working only in master pod??
Thanks and Regards,
Raghavi G. Kamat