kubernetes plugin issue with workingDir set as /home/jenkins/agent

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

kubernetes plugin issue with workingDir set as /home/jenkins/agent

b Od

Hi,

One issue we noticed after we upgraded the Kubernetes Jenkins pluging to version 1.26, we see that our jnlp slave Jenkins pod no longer mounts /home/Jenkins any more as read/write and this is breaking all our jobs (it does mount /home/Jenkins/agent but our builds need to edit some files (.gradle files) that exist on /home/Jenkins as read/write. A workaround is to edit each Jenkinsfile and manually edit the workingDir but difficult as we have many jobs.

 

Can see  that version 1.26 of the plugin is supposed to have supported maintaining the legacy workingDir of "/home/jenkins" but isn’t working for us. https://github.com/jenkinsci/kubernetes-plugin/pull/713

 

Wondering if anyone else is having the same issue.

Thanks

Brian

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7950e28f-1240-412f-9f94-3c7426b59d38o%40googlegroups.com.