From aeb8f3af5ef32d1365c208f20a32d2e6d4c46160 Mon Sep 17 00:00:00 2001 From: zha0q1 Date: Fri, 9 Jul 2021 00:01:07 +0000 Subject: [PATCH 1/2] reenable code cov --- ci/Jenkinsfile_utils.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/Jenkinsfile_utils.groovy b/ci/Jenkinsfile_utils.groovy index 52401b78cad7..f8e566597474 100644 --- a/ci/Jenkinsfile_utils.groovy +++ b/ci/Jenkinsfile_utils.groovy @@ -112,8 +112,7 @@ def get_git_commit_hash() { } def publish_test_coverage() { - // disabling codecov - // sh "curl -s https://codecov.io/bash | bash" + run "aws s3 cp s3://mxnet-ci-codecov/code-cov-bash ./ && bash code-cov-bash" } def collect_test_results_unix(original_file_name, new_file_name) { From 090978dbc21425dec65390bbde87e88fcbb42761 Mon Sep 17 00:00:00 2001 From: zha0q1 Date: Fri, 9 Jul 2021 22:55:18 +0000 Subject: [PATCH 2/2] use the new codecov uploader --- ci/Jenkinsfile_utils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/Jenkinsfile_utils.groovy b/ci/Jenkinsfile_utils.groovy index f8e566597474..17d4e847bb82 100644 --- a/ci/Jenkinsfile_utils.groovy +++ b/ci/Jenkinsfile_utils.groovy @@ -112,7 +112,7 @@ def get_git_commit_hash() { } def publish_test_coverage() { - run "aws s3 cp s3://mxnet-ci-codecov/code-cov-bash ./ && bash code-cov-bash" + run "aws s3 cp s3://mxnet-ci-codecov/codecov ./ && chmod +x codecov && ./codecov -t ${CODECOV_TOKEN}" } def collect_test_results_unix(original_file_name, new_file_name) {