From c1bdcb40fe3d8a2c6512e83a4c1797fd98959a24 Mon Sep 17 00:00:00 2001 From: Michael Demoret <42954918+mdemoret-nv@users.noreply.github.com> Date: Fri, 19 Feb 2021 16:40:24 -0700 Subject: [PATCH] Testing using the ghprbXXX environment variables --- ci/gpu/build.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ci/gpu/build.sh b/ci/gpu/build.sh index 386ce90e74..d810be7139 100755 --- a/ci/gpu/build.sh +++ b/ci/gpu/build.sh @@ -260,11 +260,17 @@ if [ -n "${CODECOV_TOKEN}" ]; then # CodeCov uses a local merge commit created by Jenkins. Since this commit # never gets pushed, it causes issues in Codecov if [ -n "${REPORT_HASH}" ]; then - EXTRA_CODECOV_ARGS="${EXTRA_CODECOV_ARGS} -C ${REPORT_HASH}" + EXTRA_CODECOV_ARGS="${EXTRA_CODECOV_ARGS}" fi # Append the PR ID. This is needed when running the build inside docker - EXTRA_CODECOV_ARGS="${EXTRA_CODECOV_ARGS} -P ${PR_ID} -c" + EXTRA_CODECOV_ARGS="${EXTRA_CODECOV_ARGS} -c" + + # TEMP: Override Jenkins auto config with manual settings + export CODECOV_SLUG="${PR_AUTHOR}/${SOURCE_BRANCH}" + export ghprbSourceBranch="${SOURCE_BRANCH}" + export ghprbActualCommit="${REPORT_HASH}" + export ghprbPullId="${PR_ID}" # Upload the two reports with separate flags. Delete the report on success # to prevent further CI steps from re-uploading