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.

Set variables dynamically for "trigger other builds" step #4403

eranbb ·

Hi
How can I set variables to "Trigger Other Builds" step in pre-execute script?
I want to set the variables names too. Not just the values.

Thanks in advance

  • replies 2
  • views 1423
  • stars 0
robinshen ADMIN ·

This can be achieved this way:

groovy:
import com.pmease.quickbuild.Property;
step.variables.add(new Property("varName", "varValue"));
eranbb ·

Thanks! It works