-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Hi,
I am trying to automate reload Jenkins config from scm (git) using this plugin. I use a groovy script during Jenkins startup to download the latest config from scm. I use following actions to re-load the config
I am using groovy script from this gist - https://gist.github.com/gshively11/13dcdd61b78b7910923e#file-gistfile1-txt
....................trimmed............... .............. scmSyncPlugin.configure(mock, jsonObj) scmSyncPlugin.business.synchronizeAllConfigs(ScmSyncConfigurationPlugin.AVAILABLE_STRATEGIES) instance.doReload() instance.save()
It is working as expected but it overwrite the main config.xml and reset all my settings.
Any help would highly appreciated.
Thanks,
Arun S
Metadata
Metadata
Assignees
Labels
No labels