openshift/jenkins

How are plugins copied from /opt/openshift/plugins to /var/lib/jenkins/plugins ?

YevheniiPokhvalii opened this issue · 2 comments

Hi,

Could you help me to make out how plugins are copied from /opt/openshift/plugins to /var/lib/jenkins/plugins ?
I checked the code and did not find where it happens. Neither I found any soft links.

Could you let me know how you accomplish it?

Sorry, I think, I found it :
https://github.com/openshift/jenkins/blob/master/2/contrib/s2i/run#L143

And I guess this functions is called here during the jenkins start-up configuration:
https://github.com/openshift/jenkins/blob/master/2/contrib/s2i/run#L474

Looks like you found the answer on your own.