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.

Push/Share Steps/Variables between 2 Quickbuild servers #3989

jclx ·

We have many build configurations uses the same set of base steps and variables.
We would like to move some of these these another build server but allow the same inheritance of steps and variables
and have changes from one instance pushed to the other.
Example:
/root/Common/Test
/root/Common/Test/Test1
/root/Common/Test/Test2
/root/Common/Test/Test3
/root/Common/QA
/root/Common/QA/Test1
/root/Common/QA/Test2
/root/Common/QA/Test3

Common/Test and Common/QA use steps and variables defined in root/Common via inheritance and do some overrides. Awesome feature of QB.
We want to split Common/Test to one server1 and Common/QA to another server2
But be able to push changes to server1 - steps/vars to server2 on a periodic basis.
I looked into REST api as possible solution, is it doable.

  • replies 3
  • views 502
  • stars 0
narwhal ·

can confirm that the rest api is definitely a viable route.

I have done something similar.

robinshen ADMIN ·

Another approach without writing code:

  1. Create a maintenance configuration on server2 running configuration sync step to sync Common/Test to a temp configuration on server2, say Common/Test
  2. Add a "copy steps" step in this maintenance configuration to copy "steps" defined in Common/Test to Common/QA
  3. Add a "copy variables" step in this maintenance configuration to copy "variables" defined in Common/Test to Common/QA
jclx ·

Great.
Clever idea. going to test it out.