From fdf34c1f7b9b0b58c21418dc8780c8af7bf0f224 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Thu, 25 Mar 2021 17:38:02 -0700 Subject: [PATCH] Include git sha in request to benchmark host --- ci/benchmark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/benchmark.sh b/ci/benchmark.sh index 7823915f63..71c65ab55b 100755 --- a/ci/benchmark.sh +++ b/ci/benchmark.sh @@ -35,7 +35,7 @@ TARGET="https://${ZEEK_BENCHMARK_HOST}:${ZEEK_BENCHMARK_PORT}${ZEEK_BENCHMARK_EN set +e # Make a request to the benchmark host. -RESULTS=$(curl -sS --stderr - --fail --insecure -X POST -H "Zeek-HMAC: ${HMAC_DIGEST}" -H "Zeek-HMAC-Timestamp: ${TIMESTAMP}" "${TARGET}?branch=${CIRRUS_BRANCH}&build=${BUILD_URL}&build_hash=${BUILD_HASH}") +RESULTS=$(curl -sS --stderr - --fail --insecure -X POST -H "Zeek-HMAC: ${HMAC_DIGEST}" -H "Zeek-HMAC-Timestamp: ${TIMESTAMP}" "${TARGET}?branch=${CIRRUS_BRANCH}&build=${BUILD_URL}&build_hash=${BUILD_HASH}&commit=${CIRRUS_CHANGE_IN_REPO}") STATUS=$? # If we got a bad status back from the host, we want to make sure to mask the host