source $TMPFILE
ssh-add ~/.ssh/id_ritest
+#
+# temp. until fabian has fixed liveboot
+#
+if ! ssh -t $PSERVER "sudo id" ; then
+ figlet fail
+ echo "pserver1301 needs to be manually configured until this has been automated."
+ echo "ask holger to run deploy_pserver_change.sh manually..."
+ exit 1
+fi
#
# prepare pserver
#
#
# prepare core router
#
-ssh -t $CORE_ROUTER "sudo rm /opt/autotest -rf"
-ssh -t $CORE_ROUTER "git clone git://git/ri/autotest.git /opt/autotest"
+ssh -t $CORE_ROUTER "sudo rm /opt/autotest -rf ; sudo mkdir -p /opt/autotest ; sudo chown jenkins /opt/autotest"
+ssh -t $CORE_ROUTER "cd /opt ; git clone git://git/ri/autotest.git"
ssh -t $CORE_ROUTER "cd /opt/autotest ; git checkout develop"
#
# run autotests
#
-ssh -t $CORE_ROUTER "cd /opt/autotest ; cp config-jenkins.xml config.xml"
#ssh -t -A $CORE_ROUTER "cd /opt/autotest ; ./run-compile.sh --config config-jenkins.xml"
ssh -t -A $CORE_ROUTER "cd /opt/autotest ; ./run-compile.sh"
else
echo "but sshd is not running at $(date +%H:%M:%S)"
fi
+ else
+ echo "$TARGET_HOST does not ping at $(date +%H:%M:%S)"
fi
done
if ! $(nc -z $TARGET_HOST 22 ) ; then