-
Improvement
-
Resolution: Fixed
-
Minor
-
None
As to now whenever you install Jenkins on Windows through the MSI installer, the jenkins.xml file (which configures the Windows service) is copied to the specified location without checking for its existence.
If the installation is done over an already installed Jenkins, this file is overwritten, resulting in the user loosing any possible customization on it.
This file needs to be copied on each installation, as it might change from one version to another version, but a backup of the previous file could be performed so that the user at least does not loose the changes.
- links to
Code changed in jenkins
User: Evaristo Gutiérrez
Path:
msi/jenkins.wxs
http://jenkins-ci.org/commit/packaging/934d66d006d97095f45053f0e89850c4da31d032
Log:
JENKINS-44738Detect if jenkins.xml file exists on installation dir and perform a backup if it does.