Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile to cope with Persistent Storage deployment on Origin or elsewhere. #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmlambert78
Copy link

In aim to keep the Jenkins jobs & history, we need to keep the jenkins_home persistent.
Here the Dockerfile modified is making a copy of the original jenkins_home in a reference place, and it adds the copy from this ref to the original place, if this one is detected empty when the start.sh is run (start of the container)
I have validated this on my own instances (3 clusters)
I have also the updated CD-Pipeline to get the PVC.
This change is backward compatibile and work well if the attachment is not done.
JMarc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant