Skip to content

Commit

Permalink
Give paver timing logs a unique name always
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Youngstrom committed Feb 6, 2018
1 parent 8a57cbf commit 7fdee1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/jenkins-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`"

0 comments on commit 7fdee1f

Please sign in to comment.