mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/jenkins] Remove old plugin locks before installing plugins (#1746)
* Remove old plugin locks before installing plugins The init container will fail if the plugin .lock files exist when install_plugins is run * Bump version to 0.8.8
This commit is contained in:
committed by
Lachlan Evenson
parent
a65685f48b
commit
6cd7b8ff4c
@@ -137,6 +137,7 @@ data:
|
||||
cp -n /var/jenkins_config/config.xml /var/jenkins_home;
|
||||
{{- if .Values.Master.InstallPlugins }}
|
||||
cp /var/jenkins_config/plugins.txt /var/jenkins_home;
|
||||
rm /usr/share/jenkins/ref/plugins/*.lock
|
||||
/usr/local/bin/install-plugins.sh `echo $(cat /var/jenkins_home/plugins.txt)`;
|
||||
{{- end }}
|
||||
{{- if .Values.Master.ScriptApproval }}
|
||||
|
||||
Reference in New Issue
Block a user