|
|
|
[
Permlink
| « Hide
]
Robin Shen [31/Aug/24 02:01 AM]
It is not easy to determine which node will be used beforehand as node can be matched via script or some runtime properties. However at your side if node is designated explicitly via option "on specified build agent", I can come up with a script to list all steps using that.
Hi Robin,
Thanks for you response. That would be great if provide the script to list the steps or configuration using the node. Please create a configuration to run below groovy script on server:
groovy: import com.pmease.quickbuild.setting.step.nodematcher.BuildAgentMatcher for (eachConf in system.configurationManager.getAll()) { for (eachEntry in eachConf.getSteps().entrySet()) { if ((eachEntry.value.nodeMatcher instanceof BuildAgentMatcher) && eachEntry.value.nodeMatcher.address == "agent_host:8811") { logger.info(eachConf.pathName + ":" + eachEntry.key); } } } You may change "agent_host:8811" to any build agent displayed in page "grid/active nodes" |