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"