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

14 views
Skip to first unread message

b Od

unread,
Jun 16, 2020, 1:41:27 PM6/16/20
to Jenkins Users

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

Reply all
Reply to author
Forward
0 new messages