odavid / my-bloody-jenkins

Self Configured Jenkins Docker image based on Jenkins-LTS
MIT License
251 stars 71 forks source link

Adds ability to disable chown on startup #164

Closed Reuuke closed 4 years ago

Reuuke commented 4 years ago

We use NFS share as PVC for Jenkins Jobs in Kubernetes. In this case, entrypoint always chowning home directory, because ${JENKINS_HOME} owned by root:jenkins and "stat -c %U ${JENKINS_HOME}" always returned "root". And it takes up to 20 min. As a workaround, I add env parameter DISABLE_CHOWN_ON_STARTUP for disabling chown on startup.

odavid commented 4 years ago

Thank you!