From a207080897cf19071993408f6ce285704b2cb79e Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Thu, 10 Nov 2016 11:36:29 -0500 Subject: [PATCH] Add timer logging to jenkins test runs --- scripts/jenkins-common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/jenkins-common.sh b/scripts/jenkins-common.sh index 375eba3a0a..f9cb6bcd1d 100644 --- a/scripts/jenkins-common.sh +++ b/scripts/jenkins-common.sh @@ -31,3 +31,8 @@ PATH=$PATH:node_modules/.bin # (In this case, remove it. That ensures from run-to-run, it is a clean npm environment) echo "--> Cleaning npm cache" npm cache clean + +# Log any paver or ansible command timing +TIMESTAMP=$(date +%s) +export PAVER_TIMER_LOG="test_root/log/timing.paver.$TIMESTAMP.log" +export ANSIBLE_TIMER_LOG="test_root/log/timing.ansible.$TIMESTAMP.log"