You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by zh...@apache.org on 2018/07/02 16:37:17 UTC
[incubator-mxnet] branch master updated: Add fallback for codecov
(#11524)
This is an automated email from the ASF dual-hosted git repository.
zhasheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new d34452b Add fallback for codecov (#11524)
d34452b is described below
commit d34452ba3162e3c09a1a52e6391d9defc70eebd7
Author: Marco de Abreu <ma...@users.noreply.github.com>
AuthorDate: Mon Jul 2 18:37:11 2018 +0200
Add fallback for codecov (#11524)
---
Jenkinsfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index ef84933..84940f9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -93,7 +93,8 @@ echo ${libs} | sed -e 's/,/ /g' | xargs md5sum
}
def publish_test_coverage() {
- sh 'curl --retry 10 -s https://codecov.io/bash | bash -s -'
+ // Fall back to our own copy of the bash helper if it failed to download the public version
+ sh '(curl --retry 10 -s https://codecov.io/bash | bash -s -) || (curl --retry 10 -s https://s3-us-west-2.amazonaws.com/mxnet-ci-prod-slave-data/codecov-bash.txt | bash -s -)'
}
def collect_test_results_unix(original_file_name, new_file_name) {