try to fix coverage.groovy bug

Former-commit-id: 42bc2245af6672a98e10313a011e7c40be212f6d
This commit is contained in:
milvus-ci-robot 2019-10-18 19:02:03 +08:00
parent 74607a94de
commit 6d633e5cf0

View File

@ -2,7 +2,7 @@ timeout(time: 60, unit: 'MINUTES') {
dir ("ci/jenkins/scripts") {
sh "./coverage.sh -o /opt/milvus -u root -p 123456 -t \$POD_IP"
// Set some env variables so codecov detection script works correctly
sh 'bash <(curl -s https://codecov.io/bash) -f output_new.info || echo "Codecov did not collect coverage reports"'
sh "bash <(curl -s https://codecov.io/bash) -f output_new.info || echo 'Codecov did not collect coverage reports'"
}
}