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.

Getting Priority of a Configuration in Script #4498

tomz ·

I have some complicated pre-scripting that:

  • must happen on the master step
  • isn't necessarily running the master step on the server

In this script I need to determine the configuration's priority of all builds that the current node is running. Is this possible for non-server nodes that run this script?

  • replies 3
  • views 315
  • stars 0
robinshen ADMIN ·

configuration.findPriority() will return the value.

tomz ·

The part I'm struggling with is finding all build configurations that a node is "running" without using the server to run the master step.

robinshen ADMIN ·

I see. Then you can use below script to iterate all steps running on current node and find priority of associated configuration:

import com.pmease.quickbuild.stepsupport.StepExecutionJob;

for (job in {
  if (job instanceof StepExecutionJob) {"" +;