Details
-
Bug
-
Status: Resolved (View Workflow)
-
Critical
-
Resolution: Fixed
-
jenkins 1.620 on debian sid
Description
we have Multi-Branch Project plugin installed
https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin
and every build of each multibranch project makes the jobconfighistory to save new configuration in the history
though there are no changes in the config
Attachments
Issue Links
- is duplicated by
-
JENKINS-33682 on multi branch projects it creates a config file every sync period.
-
- Resolved
-
It appears there is already provision for checking duplicates (it is enabled in system config by default): https://github.com/jenkinsci/jobConfigHistory-plugin/blob/jobConfigHistory-2.14/src/main/java/hudson/plugins/jobConfigHistory/FileHistoryDao.java#L269
In that case, I think all we have to do is make sure any decoration of branch jobs use BulkChange to ensure there are not any intermediate saves to the configuration during indexing that are different from the original (and ideally final) configuration. I believe this problem is more limited to the Multi-Branch Project Plugin at the moment and not any other multibranch types.