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
The Jenkins persistent template sets environment variables that are responsible for overriding the content of the PV with default content stored in the image. This results in lost jobs and configuration when the Jenkins instance is redeployed in OpenShift which is not exactly what "persistent" means 😃
Environment variables in question: OVERRIDE_PV_CONFIG_WITH_IMAGE_CONFIG and OVERRIDE_PV_PLUGINS_WITH_IMAGE_PLUGINS. These should be unset or set to false.
The text was updated successfully, but these errors were encountered:
goldmann
changed the title
Persistent template overriding PV content with image content and boot
Jenkins persistent template overriding PV content with image content and boot
Jul 17, 2019
You don't have to use this Jenkins master config use your own or from contra-env-infra. This is here as an option. In fact I don't think we use this template any longer by default. It was for the CCIT team.
The Jenkins persistent template sets environment variables that are responsible for overriding the content of the PV with default content stored in the image. This results in lost jobs and configuration when the Jenkins instance is redeployed in OpenShift which is not exactly what "persistent" means 😃
contra-env-setup/playbooks/roles/os_temps/templates/jenkins-persistent-template.yaml.j2
Lines 161 to 164 in 1be10ff
Environment variables in question:
OVERRIDE_PV_CONFIG_WITH_IMAGE_CONFIG
andOVERRIDE_PV_PLUGINS_WITH_IMAGE_PLUGINS
. These should be unset or set tofalse
.Docs: https://github.com/openshift/jenkins#environment-variables
Relevant code:
https://github.com/openshift/jenkins/blob/5a15d42e285de8ff39993b8b2d74c749fa1647f1/2/contrib/s2i/run#L373-L401
The text was updated successfully, but these errors were encountered: