From b2faf24925ea0f820db62e1f3d96ee347972f12a Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Wed, 20 Sep 2017 18:54:53 -0400 Subject: [PATCH] Set git sha from parameter Because we merge master into the branch before running tests, so the actual git sha does not exist on any git remote. Signed-off-by: Daniel Nephin --- hack/ci/janky | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hack/ci/janky b/hack/ci/janky index 1f8b1aad42..c77cd022a4 100755 --- a/hack/ci/janky +++ b/hack/ci/janky @@ -4,7 +4,9 @@ set -eu -o pipefail hack/validate/default hack/test/unit -bash <(curl -s https://codecov.io/bash) -f coverage.txt || \ +bash <(curl -s https://codecov.io/bash) \ + -f coverage.txt \ + -C $GIT_SHA1 || \ echo 'Codecov failed to upload' hack/make.sh \