Community
Participate
Working Groups
I have learned one or two ways to determine if a node is "offline". It would help to know that as soon as possible. Currently, I only notice when a test seems to be taking a long time, and find it has been offline a long time, and that is usually the time of day that it is too late to fix that day, so we lose another day. In "bash form" it might look like this: #!/usr/bin/env bash # Find machine (slave) from job wgetcmd="https://hudson.eclipse.org/shared/job/ep46N-unit-win32/235/api/xml?xpath=/*/builtOn/text()" machine=$(wget --no-verbose --quiet -O - "${wgetcmd}" )i # THen check machine status wgetcmd="https://hudson.eclipse.org/shared/computer/${machine}/api/xml?xpath=/*/offline/text()" machineStatus=$(wget --no-verbose --quiet -O - "${wgetcmd}" ) echo -e "\n\tMachine: \t${machine} \tStatus: ${machineStatus}"