RELEASED: Public: 2020-10-07
New features
- New option added to the restore configuration section of Restore/Backup jobs (CTR-2501)
-
CloudBees has added a new option to the restore configuration section of Restore/Backup jobs.
Users can now add a comma-separated list of Ant-style patterns to preserve content in the current
JENKINS_HOME
directory during the restore process, excluding it from the move operation.A system property is used to set the list of Ant-style patterns. Users need to add
cb.backup.restore.keepFilesPattern
to the system properties. For example,-Dcb.backup.restore.keepFilesPattern='.snapshots,**/.snapshots' has to be added to the system properties, to preserve `.snapshots
filesystem control files in the$JENKINS_HOME
directory during the restore process.