diff options
author | Markos Chandras <mchandras@suse.de> | 2018-02-21 15:12:52 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-02-21 15:12:52 +0000 |
commit | 1b1dea26a57adcd161166211046928305bae9c67 (patch) | |
tree | a7a2fabd1801eb0606f6b9094a10e279e025475b /jjb/xci | |
parent | 11c4074d10a9a34d2acb682a9a4b6cee6bbf306b (diff) |
jjb: xci: Use the 'ts' utility to print timestamps on executed steps.
We can use the 'ts' utility to print timestamps on every executed
command so we can keep track on the duration of each task and the
job overall.
Change-Id: I77d5d66c0146f943d805612ca5b47e2eed3ffc41
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'jjb/xci')
-rwxr-xr-x | jjb/xci/bifrost-verify.sh | 2 | ||||
-rwxr-xr-x | jjb/xci/xci-start-new-vm.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/jjb/xci/bifrost-verify.sh b/jjb/xci/bifrost-verify.sh index 451f33b4b..d3a37ce8a 100755 --- a/jjb/xci/bifrost-verify.sh +++ b/jjb/xci/bifrost-verify.sh @@ -28,7 +28,7 @@ set -o pipefail cd ~/bifrost # provision 3 VMs; xcimaster, controller, and compute -./scripts/bifrost-provision.sh +./scripts/bifrost-provision.sh | ts sudo -H -E virsh list EOF diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh index b72c33920..2c6ec3fad 100755 --- a/jjb/xci/xci-start-new-vm.sh +++ b/jjb/xci/xci-start-new-vm.sh @@ -53,7 +53,7 @@ if [[ ! -z ${WORKSPACE+x} && $GERRIT_PROJECT != "releng-xci" ]]; then fi cd xci -./xci-deploy.sh +./xci-deploy.sh | ts EOF chmod a+x xci_test.sh |