Skip to content

Commit

Permalink
Add fallback for codecov (apache#11524)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoabreu authored and szha committed Jul 2, 2018
1 parent cb4d310 commit d34452b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d34452b

Please sign in to comment.