Add timestamping
Times will be collected to timedata.log
This commit is contained in:
parent
836a1bb2ce
commit
2891d8299e
@ -24,7 +24,9 @@ nova boot \
|
||||
|
||||
IP=$(./get-ip-address-of-instance.sh $INSTANCE_NAME)
|
||||
|
||||
TSTAMP=$(date +%s)
|
||||
./wait-until-done.sh jenkins@$IP $KEY_PATH
|
||||
echo "TIMETOBOOTFROMSNAPSHOT $(expr $(date +%s) - $TSTAMP)" >> timedata.log
|
||||
|
||||
eval $(ssh-agent)
|
||||
|
||||
|
@ -54,7 +54,9 @@ remote-bash root@$IP << EOF
|
||||
bash /opt/xenapi-in-the-cloud/xenapi-in-rs.sh $XENSERVER_PASSWORD $APPLIANCE_URL
|
||||
EOF
|
||||
|
||||
TSTAMP=$(date +%s)
|
||||
./wait-until-done.sh $IP $KEY_PATH
|
||||
echo "TIMETOINSTALLXENSERVER $(expr $(date +%s) - $TSTAMP)" >> timedata.log
|
||||
|
||||
# Use this key for jenkins
|
||||
SSH_PUBLIC_KEY=$(ssh-keygen -y -f $KEY_PATH)
|
||||
|
Loading…
x
Reference in New Issue
Block a user