
Key: |
QB-4118
|
Type: |
Improvement
|
Status: |
Closed
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Robin Shen
|
Reporter: |
rani dharne
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 30/Aug/24 01:24 PM
Updated: 23/Jan/25 01:11 AM
|
|
Component/s: |
None
|
Affects Version/s: |
12.0.12
|
Fix Version/s: |
None
|
|
Original Estimate:
|
1 week
|
Remaining Estimate:
|
1 week
|
Time Spent:
|
Unknown
|
Environment:
|
Production
|
|
Hi Robin,
We want to check the workflows which are configured to run on the node if we try to unauthorized the node from grid.
OR
is it possible to get some kind of notification on error Error allocating node for step 'master': Can not find any node matching specified criteria.
can we add any feature to check first node is active and notify to us before the error displays on configuration.
|
Description
|
Hi Robin,
We want to check the workflows which are configured to run on the node if we try to unauthorized the node from grid.
OR
is it possible to get some kind of notification on error Error allocating node for step 'master': Can not find any node matching specified criteria.
can we add any feature to check first node is active and notify to us before the error displays on configuration. |
Show » |
|
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"