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.

Retrieve Running Steps on Specific Grid Node #4089

tomz ·

Is there a way in script to get all step information on all currently running builds on a specific grid node?

We would like to be able to report on any builds that only have steps in the path "master" that have been running for a particularly long time.

Thanks,
Tom Z.

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

Running below script on QB server will return running steps information:

groovy:
for (runningStepInfo: getRunningSteps("someagent:8811")) {
  logger.info(runningStepInfo.buildId);
  logger.info(runningStepInfo.stepPath);
}
tomz ·

Thanks for pointing this out!