Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

What's a good way to version control the configurations (settings, steps, scripts...)? #3835

HealingQuickly ·

Hi Robin
Or to anyone who'd like to share their ideas

Let's say I have a parent configuration with a lot of steps/groovy scripts, and it triggers/promotes/generates other configurations, and the parent configuration itself checks out certain revisions of data from SCM, how can you manage the versions of the parent configuration so that when there are problems after I made changes to the parent configuration, I can know how to change back. For example I can know what revisions of data I should checkout form SCM to make it work again, what step I should delete, etc?

How does/should everybody manage things like this?

Thank you!

  • replies 5
  • views 1222
  • stars 1
robinshen ADMIN ·

QB does not have this ability. However when something bad happens, you may check the audit log to diff configurations to know what might caused the issue.

HealingQuickly ·

Hi Robin, thanks for the reply

Can you answer me these questions as well?
Do "sync config" and "import config" have the same effect? What about using script to do copyAsNew()?

Thanks

robinshen ADMIN ·

"Sync config" syncs configuration setting from another server, while "import config" imports configuration setting from a zip file which is previously exported. All of them are internally calling method ConfigurationManager.save(). You may also write your own script to export configurations as XML and import it later if necessary. Refer to ConfigurarionResource.java in QB source code for some examples.

HealingQuickly ·

Hi Robin

What do you mean by QB source code? I tried to go through the Javadoc and there's not too much descriptions for each function and I couldn't find the function that exports config XML file. I wouldn't mind exporting every config changes, how should I do this?

Thank you!

robinshen ADMIN ·

Commercial user can access QB source code from their service account.