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.

run configuration for build from another configuration #4172

Mmathue ·


I have a configuration "A" that is triggered by promotion configuration "B". the configuration is to list the machines that are used in specific steps
for (step in build.steps) {;

is it possible to get the steps from the promoted build in configuration "B"?

  • replies 1
  • views 40
  • stars 0
robinshen ADMIN ·

So you click the promote button in a build (assume build-B) of configuration "B", and it creates another build (assume build-A) in configuration "A". Now you want build-A to list all agents used in build-B? If so, run below groovy script in build-A:

for (step in build.promotedFrom.steps) {;