Loading bin/djm +6 −2 Original line number Diff line number Diff line Loading @@ -570,8 +570,12 @@ djm_do() { # action # case $ACTION in reboot) ( ssh $NODE "sudo reboot" || xterm -T "$SHORTNODE / $ACTION failed" -class deploy-jenkins -bg $BG -fa 'DejaVuSansMono' -fs 10 -e "echo -e 'ssh to $NODE failed, thus rebooting failed.\n\npress enter to continue' ; read a " ) reboot) if [ "$NODE" == "osuosl4-amd64.debian.net" ] ; then echo "Skipping rebooting $NODE because josch is running something there...." else ( ssh $NODE "sudo reboot" || xterm -T "$SHORTNODE / $ACTION failed" -class deploy-jenkins -bg $BG -fa 'DejaVuSansMono' -fs 10 -e "echo -e 'ssh to $NODE failed, thus rebooting failed.\n\npress enter to continue' ; read a " ) run_xterm2wait4node_comeback fi ;; powercycle) case $SHORTNODE in jenkins) `dirname $0`/powercycle_x86_nodes.py jenkins Loading Loading
bin/djm +6 −2 Original line number Diff line number Diff line Loading @@ -570,8 +570,12 @@ djm_do() { # action # case $ACTION in reboot) ( ssh $NODE "sudo reboot" || xterm -T "$SHORTNODE / $ACTION failed" -class deploy-jenkins -bg $BG -fa 'DejaVuSansMono' -fs 10 -e "echo -e 'ssh to $NODE failed, thus rebooting failed.\n\npress enter to continue' ; read a " ) reboot) if [ "$NODE" == "osuosl4-amd64.debian.net" ] ; then echo "Skipping rebooting $NODE because josch is running something there...." else ( ssh $NODE "sudo reboot" || xterm -T "$SHORTNODE / $ACTION failed" -class deploy-jenkins -bg $BG -fa 'DejaVuSansMono' -fs 10 -e "echo -e 'ssh to $NODE failed, thus rebooting failed.\n\npress enter to continue' ; read a " ) run_xterm2wait4node_comeback fi ;; powercycle) case $SHORTNODE in jenkins) `dirname $0`/powercycle_x86_nodes.py jenkins Loading