Started by upstream project "Power_Fluctuation_Check" build number 60
originally caused by:
Started by timer
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/Check_LDAP/workspace
[SSH] script:
Check_LDAP=$(/u/system/bwjenkins/bin/ldapcheck.sh | egrep 'BW|ES|LDAP')
if [[ "$(echo "$Check_LDAP" | wc -l )" -ne "7" ]]; then
echo "There are "$(echo "$Check_LDAP" | wc -l )" nodes down. Here is a list of expected nodes:"
echo "BWDSM
BWDS1
BWDS2
ESMS1
ESMS2
LDAP1
LDAP2"
echo "But here are the nodes that are currently up:"
echo "$Check_LDAP"
exit 1
fi
[SSH] executing...
[SSH] completed
[SSH] exit-status: 0
Finished: SUCCESS