Skip to content

Commit

Permalink
print SHALLOW_CLONE envar for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Connito authored Dec 1, 2020
1 parent b4183ab commit 4ae3b8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hooks/pre-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

set -euo pipefail

echo "--- :git: Check for shallow clone"
echo SHALLOW_CLONE = ${SHALLOW_CLONE:-false}

echo "--- :datadog: Recording checkout start time"

BUILDKITE_PLUGIN_DATADOG_STATS_CHECKOUT_START_TIME_MS=$(date +%s%3N)
Expand Down

0 comments on commit 4ae3b8c

Please sign in to comment.