You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I need to initialize an empty directory hierarchy for a custom plugin.
Just realized the jenkins.sh script is indeed designed to copy only files.
So, basically empty somedir/somesubdir in /usr/share/jenkins/ref/ is not gonna be copied.
Before proposing any patch, I wanted to check the rationale behind that.
Can someone explain why?
Thanks!
PS: I can work around the issue for some directories by putting "fake" files like with Git, but no with all as the files in there are supposed to be parsed.
The text was updated successfully, but these errors were encountered:
The only workaround I've found is to place a empty file inside those directories, as far I understand the entryrpoint will copy each file inside of ref directory so everything has Jenkins' ownership (since docker uses root for COPY/ADD)
Hi,
I need to initialize an empty directory hierarchy for a custom plugin.
Just realized the
jenkins.sh
script is indeed designed to copy only files.So, basically empty
somedir/somesubdir
in/usr/share/jenkins/ref/
is not gonna be copied.Before proposing any patch, I wanted to check the rationale behind that.
Can someone explain why?
Thanks!
PS: I can work around the issue for some directories by putting "fake" files like with Git, but no with all as the files in there are supposed to be parsed.
The text was updated successfully, but these errors were encountered: