From 7fdee1fae98c50d08e61396297136ad8d6d2c550 Mon Sep 17 00:00:00 2001 From: Michael Youngstrom Date: Tue, 6 Feb 2018 13:06:22 -0500 Subject: [PATCH] Give paver timing logs a unique name always --- scripts/jenkins-common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/jenkins-common.sh b/scripts/jenkins-common.sh index f5b6987166..fe2e867697 100644 --- a/scripts/jenkins-common.sh +++ b/scripts/jenkins-common.sh @@ -59,7 +59,8 @@ echo "npm version is `npm --version`" # Log any paver or ansible command timing TIMESTAMP=$(date +%s) -export PAVER_TIMER_LOG="test_root/log/timing.paver.$TIMESTAMP.log" +SHARD_NUM=${SHARD:="all"} +export PAVER_TIMER_LOG="test_root/log/timing.paver.$TEST_SUITE.$SHARD_NUM.log" export ANSIBLE_TIMER_LOG="test_root/log/timing.ansible.$TIMESTAMP.log" echo "This node is `curl http://169.254.169.254/latest/meta-data/hostname`"